Create PDF


A PDF document is represented in HiQPdf library by the HiQPdf.PdfDocument class. There are basically three methods of creating PDF documents in library:
  • Create empty PDF documents using the PdfDocument class constructor or the special static methods described in the Create Documents topic to create PDF documents with a given standard or a given color space
  • Use the HtmlToPdf.ConvertUrlToPdfDocument(String) and HtmlToPdf.ConvertHtmlToPdfDocument(String, String) methods of the HTML to PDF converter to create preconfigured PDF documents
  • Load existing PDF documents using the static methods of the PdfDocument class 
    Create PDF Demo