HtmlConversionOptions Class

The options for HTML to PDF conversions.

Inheritance Hierarchy

System.Object
  BitMiracle.Docotic.Pdf.HtmlToPdf.HtmlConversionOptions

Namespace:  BitMiracle.Docotic.Pdf.HtmlToPdf
Assembly:  BitMiracle.Docotic.Pdf.HtmlToPdf (in BitMiracle.Docotic.Pdf.HtmlToPdf.dll)

Syntax

C#
public class HtmlConversionOptions
VB
Public Class HtmlConversionOptions

The HtmlConversionOptions type exposes the following members.

Constructors

  NameDescription
Public methodHtmlConversionOptions
Initializes a new instance of the HtmlConversionOptions class

Properties

  NameDescription
Public propertyAuthentication
Gets the options for the optional HTTP authentication part of the conversion.
Public propertyCookies
Gets the collection of cookies to set before the loading part of the conversion.
Public propertyCustomUserAgent
Gets or sets the custom user agent string.
Public propertyFillMetadata
Gets the value indicating whether the conversion should fill metadata fields in the produced PDF using the title and other information from the HTML.
Public propertyLoad
Gets the options for the loading part of the conversion.
Public propertyMediaType
Gets or sets the CSS media type to use.
Public propertyPage
Gets the options for page size, margins, etc.
Public propertyStart
Gets the options for the conversion start.
Public propertyTimeout
Gets or sets the maximum time, in milliseconds, for operations like page loading or script execution.

Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

See Also