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
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

See Also