HiQPdf.Chromium Namespace

The HiQPdf.Chromium namespace contains the classes to convert HTML to PDF and HTML to Image.

Classes

GlobalSettings Contains global settings that configure the behavior of the library within application
HtmlElementInfo Represents detailed style and content information about a single HTML element
HtmlElementInfoCollection Represents a collection of HTML elements and provides lookup functionality
HtmlToImage The HTML to Image converter class that can be used to convert HTML documents to raster images
HtmlToPdf The HTML to PDF converter class
HtmlToPdfConversionInfo Holds information about the result of an HTML to PDF conversion. This object is populated after the conversion completes and is exposed by the ConversionInfo property of the HTML to PDF converter. It contains details about the generated pages, inserted pages, and the total output.
HttpAuthentication Encapsulates a username and a password to resolve various types of HTTP authentication
Installation Contains global installation instructions that configure the behavior of the library within the application
KeyValue Represents a key value pair
KeyValueCollection Represents a collection of KeyValue objects
Licensing Manages the license settings for the library tools
PdfColor Represents an RGB color with optional alpha (transparency). Used for defining fill and stroke colors in PDF rendering
PdfDigitalSignature This class controls the digital signature of the PDF document created by HTML to PDF Converter. A reference to an object of this class is exposed by the DigitalSignature property of the PdfDocumentControl class. An object of PdfDocumentControl class is exposed by the Document property of the HtmlToPdf class
PdfDigitalSignatureAppearance Controls the appearance of the digital signature applied to the PDF document created by HTML to PDF Converter. The PdfDigitalSignature class exposes a reference to an object of this class
PdfDocument Represents a new PDF document being constructed in memory
PdfDocumentControl This class controls the properties of the PDF document generated by the HTML to PDF Converter. A reference to an object of this class is exposed by the Document property of the HtmlToPdf class
PdfDocumentCreateSettings Represents configuration settings for creating a PDF document
PdfEditor Allows editing of existing PDF documents by adding HTML content, setting metadata, applying security options, and digital signatures. Use Save or SaveToFile(String) to generate the final PDF and release resources
PdfFont Represents a font used to render text in the PDF document
PdfFontManager Manages font creation and caching for PDF rendering
PdfHtmlHeaderFooter A PDF Template can be used to repeat an HTML content in many PDF pages. The HTML can contain placeholders such as {page-number} and {total-pages} to be replaced when the PDF is generated.
PdfHtmlTemplate A PDF Template can be used to repeat HTML content on multiple PDF pages. The HTML content can contain placeholders such as {page-number} and {total-pages} to be replaced when generating the final PDF.
PdfImageElement Represents an image element that can be rendered into a PDF document. Supports positioning, scaling and alignment
PdfImageRenderInfo Contains metadata about how and where an image was rendered on a PDF page
PdfLineStyle Represents the appearance of a line including width and style
PdfMargins The PDF document margins class used by PDF pages
PdfMerge The PdfMerge class provides functionality to merge multiple PDF files or streams into a single PDF document
PdfMergeInfo An object of this class is exposed by the PdfMerge class to provide details such as the total number of pages produced and the number of pages from each merged document
PdfPadding Represents padding for a PDF element.
PdfPageInfo Represents page-specific information extracted from a loaded PDF document. Includes details like page size, rotation, crop box, media box, and other boundaries. All dimensions are expressed in points (1 point = 1/72 inch)
PdfPageSize The PDF page size class used to define the standard and custom sizes of a PDF document page
PdfProperties Controls the title, subject, keywords, author and the creation date of the PDF document generated by converter
PdfRectangle The coordinates of a rectangle
PdfRectangleElement Defines a rectangle to be drawn in the PDF document. Coordinates are relative to the top-left of the page
PdfRenderedRectangle Represents a rectangular area on a specific PDF page where content was rendered
PdfSecurity Controls the security attributes of the generated PDF document
PdfSecurityInfo Represents security-related information extracted from a loaded PDF document. Includes encryption status, permission flags and encryption algorithm details
PdfTableOfContents Controls the automatic creation of the table of contents in PDF from HTML heading tags
PdfTemplate Represents a reusable template object
PdfTextElement Represents a block of text to be rendered in a PDF document. Supports positioning, styling and multi-page continuation
PdfTextRenderInfo Contains metadata about where and how text was rendered across pages
PdfViewer The PDF viewer preferences class controls the way the PDF document created by the HTML to PDF converter is displayed in a PDF viewer
WordToPdfConverter Provides functionality for converting Word (.docx) documents to PDF format with support for customization options such as metadata, security and viewer preferences
WordToPdfDocumentOptions This class encapsulates the options to control the PDF document redering process. The WordToPdfConverter class defines a reference to an object of this type

Enumerations

ConversionTriggerMode The possible options for triggering the conversion after the page was loaded in converter
ConvertEntirePageMode The modes used to convert the entire HTML page to image
ImageType The image format types
LazyImagesLoadMode The possible modes for the lazy image loading
PdfElementHorizontalAlign Specifies the horizontal alignment of a PDF element on a PDF page
PdfElementVerticalAlign Specifies the vertical alignment of a PDF element on a PDF page
PdfEncryptionLevel The encryption level
PdfEncryptionMode The PDF encryption mode
PdfFontStyle Represents font style flags used in PDF text rendering. Multiple styles can be combined using bitwise OR (e.g., Bold | Italic)
PdfFullScreenExitMode The viewer page mode on exiting full screen
PdfLineDashStyle Specifies the dash style for line rendering
PdfPageLayout The page layout to be used when the document is displayed
PdfPageMode The page mode to be used when the document is displayed
PdfPageOrientation This enumeration represents the possible PDF page orientations
PdfReadingOrder The reading order when the document is displayed
PdfStandardFont Represents standard built-in PDF fonts that are always available in PDF readers. These fonts do not require embedding and are useful for small file sizes
PdfTemplateHorizontalAlign Specifies the horizontal alignment of a PDF template on a PDF page
PdfTemplateVerticalAlign Specifies the vertical alignment of a PDF template on a PDF page
PdfTextAlignment Specifies the horizontal alignment of text when rendering in a PDF document
PdfTextDirection Specifies the direction in which the text flows in the PDF