Class HtmlConversionOptions
- Namespace
- BitMiracle.Docotic.Pdf.HtmlToPdf
- Assembly
- BitMiracle.Docotic.Pdf.HtmlToPdf.dll
The options for HTML to PDF conversions.
public class HtmlConversionOptions- Inheritance
- 
      
      HtmlConversionOptions
- Inherited Members
Remarks
Use these options to set up different aspects of an HTML to PDF conversion. Check the Convert HTML to PDF in C# and VB.NET article for examples of using these options.
Check out the other articles and code samples on the HTML to PDF features page.
Constructors
- HtmlConversionOptions()
- Initializes a new instance of the HtmlConversionOptions class. 
Properties
- Authentication
- Gets the options for the optional HTTP authentication part of the conversion. 
- Cookies
- Gets the collection of cookies to set before the loading part of the conversion. 
- CustomUserAgent
- Gets or sets the custom user agent string. 
- FillMetadata
- Gets or sets the value indicating whether the conversion should fill metadata fields in the produced PDF using the title and other information from the HTML. 
- Load
- Gets the options for the loading part of the conversion. 
- MediaType
- Gets or sets the CSS media type to use. 
- Page
- Gets the options for page size, margins, etc. 
- PreserveStructureInformation
- Gets or sets the value indicating whether the conversion should preserve the structure information (accessibility tags) in the produced PDF. 
- Start
- Gets the options for the conversion start. 
- Timeout
- Gets or sets the maximum time, in milliseconds, for operations like page loading or script execution.