ExpertPdf Html to Pdf Converter Library
ExpertPdf.HtmlToPdf Namespace
NamespacesExpertPdf.HtmlToPdf
ExpertPdf Html to Pdf Converter Library
ExpertPdf.HtmlToPdf defines the HTML to PDF and HTML to image conversion API. The main classes of the namespace are PdfConverter and ImgCoverter that can be used to convert web pages and HTML strings to PDF documents and images.
Types
All TypesClassesEnumerationsDelegates
IconTypeDescription
AuthenticationOptions
Authentication options for accessing a URL in HTML to PDF converter (e.g IIS authentication).

BeforeCreateNextPageEventArgs
BeforeCreateNextPage event arguments

BeforeCreateNextPageHandler
BeforeCreateNextPage event handler

BeforeRenderNextPageEventArgs
BeforeRenderNextPage event arguments

BeforeRenderNextPageHandler
BeforeRenderNextPage event handler

ColorSpace
The possible color spaces for the generated PDF document.

ConversionSummary
Offers summary information about the conversion process. After a successfull conversion the PdfConverter.ConversionSummary property is initialized with an instance of this class.

ConverterUtils
HTML converter utilities

EncryptionKeySize
The length of the encryption key

HorizontalTextAlign
Specifies horizontal alignment of text.

HtmlConvertException
Exception thrown by the HTML to PDF Converter library.

HtmlDocumentInfo
This class encapsulates the information about a converted HTML document like title, keywords and description.

HtmlElementMapping
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.

HtmlElementMappingsCollection
Represents a collection of mappings of HTML elements in PDF.

HtmlElementPdfRectangle
Represents the rectangle occupied by a HTML element in a page of the generated PDF document.

HtmlElementsMappingOptions
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.

HtmlExcludedRegionsOptions
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.

HtmlToPdfArea
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.

ImageArea
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.

ImgConverter
This class offers the necessary API to create images in various formats from a specified web page

InternetSecurityZone
Specifies the internet security zone settings used by the HTML converter to convert web sites.

NetworkProxyType
The type of proxy used by converter to resolve requests

PdfBookmarkOptions
Controls the bookmark generation

PdfCompressionLevel
The rendered PDF compression level.

PdfConverter
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.

PdfDocumentInfo
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

PdfDocumentOptions
This class encapsulates the options to control the PDF document redering process. The PdfConverter class define a reference to an object of this type.

PdfElement
The base class for the PDF elements that can be added to header and footer.

PdfFontType
The list of supported fonts for the header and footer

PdfFooterOptions
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

PdfHeaderOptions
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

PDFPageOrientation
PDF page orientation

PdfPageSize
The PDF document size

PdfSecurityOptions
This class encapsulates the options to control the PDF document security options. The PDFConverter class define a reference to an object of this type.

PdfStandardSubset
The PDF subset used by the document.

PostConvertActionEventArgs
This class encapsulates the arguments for the PostConvertAction event handler.

PostConvertActionHandler
The delegate type for handling the PostConvertAction event of PdfConverter class.

ProxyOptions
The proxy settings used to resolve the requests. Note: This is used only by the WebKit rendering engine.

RenderImageFormat
The supporter image formats

RenderImageFormatConverter
This class converts a RenderImageFormat to System.Drawing.ImageFormat

RenderingEngine
Specifies the rendering engine used by the converter to load and render the html.

StartupMode
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()

TextArea
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.

UnitsConverter
Converts between various graphic units (pixels, points, etc).

VerticalTextAlign
Specifies vertical alignment of text.

ViewerFullScreenExitMode
Used in ViewerPreferences to specify how to display the document on exiting full-screen mode

ViewerPageLayout
A name object specifying the page layout to be used when the document is opened.

ViewerPageMode
A name object specifying how the document should be displayed when opened.

ViewerPreferences
Represents the viewer preferences of the PDF document

ViewerTextOrder
Used in ViewerPreferences to specify the predominant reading order for text.