Click or drag to resize

ExpertPdf.Anywhere.HtmlToPdf Namespace

The HTML to PDF and HTML to image converters (PdfConverter, ImgConverter) and their options: page setup, headers and footers, bookmarks, links, security, PDF standards, the table of contents.
Classes
 ClassDescription
Public classAuthenticationOptions HTTP authentication options (user name and password) for accessing the URL to convert.
Public classConversionSummary Offers summary information about the conversion process. After a successfull conversion the PdfConverter.ConversionSummary property is initialized with an instance of this class.
Public classConverterUtils HTML converter utilities
Public classHtmlConvertException Exception thrown by the HTML to PDF Converter library.
Public classHtmlDocumentInfo This class encapsulates the information about a converted HTML document like title, keywords and description.
Public classHtmlElementMapping Represents te mapping of a HTML element in the PDF document as collection of PDF rectangles. A HTML element can span on many pages in the generated PDF document and therefore, in general, many PDF rectangles are necessary to completely describe the mapping of a HTML element in PDF.
Public classHtmlElementMappingsCollection Represents a collection of mappings of HTML elements in PDF.
Public classHtmlElementPdfRectangle Represents the rectangle occupied by a HTML element in a page of the generated PDF document.
Public classHtmlElementsMappingOptions Defines the necessary API to retrieve the positions in the generated PDF document for the HTML elements specified in a list. The HTML elements are specified by their unique HTML ID or HTML tag name.
Public classHtmlExcludedRegionsOptions Defines the necessary API to define a set of HTML regions to be excluded from conversion to PDF. The HTML regions to be excluded are defined as HTML elements specified by their unique HTML ID or HTML tag name.
Public classHtmlTableOfContentsLevelStyle The appearance of the entries of one level of a table of contents drawn by GeneratePages.
Public classCode exampleHtmlTableOfContentsOptions Controls the table of contents with page numbers the HTML to PDF converter builds, through TableOfContentsOptions.
Public classHtmlToPdfArea A HTML string or URL to be added to the header or footer of the rendered PDF document. The PdfConverter.PdfHeaderOptions.HtmlToPdfArea property should be set with an object of this type.
Public classImageArea A image to be added to the header or footer of the rendered PDF document. The PdfConverter.PdfHeaderOptions.ImageArea property should be set with an object of this type.
Public classImgConverter This class offers the necessary API to create images in various formats from a specified web page
Public classLoginOptions This class contains options that are used to handle login pages.
Public classPdfBookmarkOptions Controls the bookmark generation
Public classPdfConverter This class is the main class of the HTML to PDF Converter which offers the necessary methods to create a PDF document from a web page or from a HTML string. The generated PDF document can be saved in memory or in a file.
Public classPdfDocumentInfo This class encapsulates the options to control the PDF document description (author, title, keywords, etc). The PDFConverter class define a reference to an object of this type
Public classPdfDocumentOptions This class encapsulates the options to control the PDF document redering process. The PdfConverter class define a reference to an object of this type.
Public classPdfElement The base class for the PDF elements that can be added to header and footer.
Public classPdfFooterOptions This class encapsulates the options to control the appearance of the footer in the rendered PDF document. The PDFConverter class contains a reference to an object of this type. If the ShowFooter property from PDFDocumentOptions object is false, the footer options have no efect
Public classPdfHeaderOptions This class encapsulates the options to control the appearance of the header in the rendered PDF document. The PDFConverter class contains a reference to an object of this type. If the ShowHeader property of the PDFDocumentOptions object is false, the header options have no efect
Public classPdfSecurityOptions This class encapsulates the options to control the PDF document security options. The PDFConverter class define a reference to an object of this type.
Public classPostConvertActionEventArgs This class encapsulates the arguments for the PostConvertAction event handler.
Public classProxyOptions The proxy settings used to resolve the requests.
Public classTextArea A text to be added to the header or footer of the rendered PDF document. The PdfConverter.PdfHeaderOptions.TextArea property should be set with an object of this type.
Public classUnitsConverter Converts between various graphic units (pixels, points, etc).
Public classViewerPreferences Represents the viewer preferences of the PDF document
Public classCode exampleWordToPdfArea A Word document drawn in a header or footer: the first page of the document (or the page PageRanges names), rendered once at the size of the area and drawn on every page that shows the band, with its links.
Delegates
 DelegateDescription
Public delegatePostConvertActionHandler The delegate type for handling the PostConvertAction event of PdfConverter class.
Enumerations
 EnumerationDescription
Public enumerationColorSpace The possible color spaces for the generated PDF document.
Public enumerationEncryptionKeySize The length of the encryption key
Public enumerationHorizontalTextAlign Specifies horizontal alignment of text.
Public enumerationHtmlTableOfContentsLeader What is drawn between a table of contents entry and its page number.
Public enumerationHtmlTableOfContentsMode How the HTML to PDF converter builds a table of contents with page numbers.
Public enumerationHtmlTableOfContentsPagePosition Where GeneratePages inserts the table of contents pages.
Public enumerationHtmlTableOfContentsPlacement Where InsertHtml writes the table of contents in the page.
Public enumerationCode exampleHttpCacheMode Selects what the rendering engine's HTTP cache keeps from one conversion for the next.
Public enumerationCode exampleManagedContentTrimmingMode Specifies how the Chromium rendering engine reports where the rendered content ends, when the library decides where each page is cut (ManagedContentTrimming).
Public enumerationPdfCompressionLevel The rendered PDF compression level.
Public enumerationPdfFontType The list of supported fonts for the header and footer
Public enumerationPDFPageOrientation PDF page orientation
Public enumerationPdfPageSize The PDF document size
Public enumerationPdfStandardSubset The PDF subset used by the document.
Public enumerationCode examplePdfUAStandard The accessibility standard (PDF/UA, ISO 14289) a generated document declares.
Public enumerationRenderImageFormat The image formats an HTML page or a PDF page can be rendered to.
Public enumerationRenderingEngine Specifies the rendering engine used by the converter to load and render the html, and where it runs.
Public enumerationStartupMode Specifies the converter startup mode. By default this is set to Automatic and the conversion is started as soon as the page loads (and ConversionDelay elapses). If set to Manual, the conversion is started only by a javascript call to ExpertPdfJSObj.startConversion()
Public enumerationVerticalTextAlign Specifies vertical alignment of text.
Public enumerationViewerFullScreenExitMode Used in ViewerPreferences to specify how to display the document on exiting full-screen mode
Public enumerationViewerPageLayout A name object specifying the page layout to be used when the document is opened.
Public enumerationViewerPageMode A name object specifying how the document should be displayed when opened.
Public enumerationViewerTextOrder Used in ViewerPreferences to specify the predominant reading order for text.