Docotic.Pdf library help > BitMiracle.Docotic.Pdf.HtmlToPdf
The BitMiracle.Docotic.Pdf.HtmlToPdf namespace contains methods and properties for HTML to PDF conversion. You can use them to create PDF documents from HTML and some other web formats.

To use this namespace you would need to add a reference to the BitMiracle.Docotic.Pdf.HtmlToPdf extension DLL. Or you can install Docotic.Pdf.HtmlToPdf NuGet package.


Public classAuthenticationOptions
The options for the optional HTTP authentication part of an HTML to PDF conversion.
Public classConversionStartOptions
Defines when an HTML to PDF conversion starts.
Public classHtmlConversionOptions
The options for HTML to PDF conversions.
Public classHtmlConverter
The HTML converter. The main purpose of the converter is to create PDFs from HTML files or URLs.
Public classHtmlConverterException
Represents the errors that occur during HTML to PDF conversion.
Public classHtmlEngineOptions
The options for the HTML engine.
Public classLoadOptions
The options for the loading part of an HTML to PDF conversion.
Public classPdfPageOptions
The options for PDF pages created during HTML to PDF conversions.


Public enumerationConversionStartMode
All conversion start modes supported by HtmlConverter.
Public enumerationCssMediaType
All CSS media types supported by HtmlConverter.