Table of Contents

Class ConversionStartOptions

Namespace
BitMiracle.Docotic.Pdf.HtmlToPdf
Assembly
BitMiracle.Docotic.Pdf.HtmlToPdf.dll

Options for defining when an HTML to PDF conversion starts.

public class ConversionStartOptions
Inheritance
ConversionStartOptions
Inherited Members

Remarks

Use these options to delay the start of an HTML to PDF conversion. Read more in the Delay conversion start and Execute JavaScript before conversionsections of the Convert HTML to PDF article.

For an overview of the HTML‑to‑PDF features provided by Docotic.Pdf with the HtmlToPdf add‑on, see the HTML to PDF for .NET page.

Constructors

ConversionStartOptions()

Initializes a new instance of the ConversionStartOptions class.

Properties

Delay

Gets the delay before the conversion start, in milliseconds.

Mode

Gets the start mode.

Script

Gets the script to run before the conversion start.

Methods

SetStartAfterDelay(int)

Switches to the AfterDelay mode and sets the amount of the delay.

SetStartAfterScriptRun(string)

Switches to the AfterScriptRun mode and sets the script to run.

SetStartOnLoad()

Switches to the OnLoad mode.