Table of Contents
- Getting Started
- EO.Pdf
- EO.Web
- EO.WebBrowser
- EO.Wpf
- Common Topics
- Reference
- .NET API Reference
- EO.Base
- EO.Base.UI
- EO.Extensions
- EO.Pdf
- EO.Pdf
- Classes
- ClientCertificate Class
- HtmlDocument Class
- HtmlElement Class
- HtmlNode Class
- HtmlTextNode Class
- HtmlToPdf Class
- HtmlToPdfException Class
- HtmlToPdfOptions Class
- HtmlToPdfOptions Class
- HtmlToPdfOptions Members
- HtmlToPdfOptions Constructor
- Properties
- Properties
- AdditionalHeaders Property
- AfterRenderPage Property
- AllowLocalAccess Property
- AutoAdjustForDPI Property
- AutoBookmark Property
- AutoFitX Property
- AutoFitY Property
- BaseUrl Property
- BeforeRenderPage Property
- CertificateError Property
- ClientCertificate Property
- ColumnCount Property
- ColumnGapWidth Property
- Cookies Property
- FirstHeaderFooterPageIndex Property
- FirstPageNumber Property
- FooterHtmlFormat Property
- FooterHtmlPosition Property
- FooterHtmls Property
- GeneratePageImages Property
- GenerateTags Property
- HeaderHtmlFormat Property
- HeaderHtmlPosition Property
- HeaderHtmls Property
- InvisibleElementIds Property
- JpegQualityLevel Property
- JSInitCode Property
- MaxLoadWaitTime Property
- MinLoadWaitTime Property
- Mode Property
- NoCache Property
- NoLink Property
- NoScript Property
- Orientation Property
- OutputArea Property
- PageSize Property
- Password Property
- PostData Property
- ProxyInfo Property
- RepeatTableHeaderAndFooter Property
- RetrieveNodeText Property
- SSLVerificationMode Property
- StartColumnIndex Property
- StartPageIndex Property
- StartPosition Property
- ThrowOnHttpError Property
- TriggerMode Property
- UsePrintMedia Property
- UserName Property
- UserStyleSheet Property
- VisibleElementIds Property
- ZoomLevel Property
- Methods
- HtmlToPdfResult Class
- HtmlToPdfSession Class
- PageInfo Class
- PageInfoCollection Class
- PageStyle Class
- Paginator Class
- PdfAction Class
- PdfAttachment Class
- PdfAttachmentCollection Class
- PdfBookmark Class
- PdfBookmarkCollection Class
- PdfCheckBoxField Class
- PdfComboBoxField Class
- PdfDestination Class
- PdfDocInfo Class
- PdfDocument Class
- PdfDocumentEventArgs Class
- PdfDocumentSecurity Class
- PdfField Class
- PdfFieldCollection Class
- PdfGenericField Class
- PdfGoToAction Class
- PdfJavaScriptAction Class
- PdfLaunchAction Class
- PdfLink Class
- PdfListBoxField Class
- PdfListField Class
- PdfListItem Class
- PdfListItemCollection Class
- PdfObject Class
- PdfOnOffField Class
- PdfPage Class
- PdfPageCollection Class
- PdfPageEventArgs Class
- PdfPageLocation Class
- PdfPageRectangle Class
- PdfPageSizes Class
- PdfPortfolio Class
- PdfPushButtonField Class
- PdfRadioButtonField Class
- PdfRadioButtonGroup Class
- PdfRender Class
- PdfSigner Class
- PdfTextField Class
- PdfUriAction Class
- PdfViewerException Class
- PdfViewerPreference Class
- Runtime Class
- YRange Class
- Interfaces
- Enumerations
- Delegates
- EO.Pdf.Acm
- EO.Pdf.Contents
- EO.Pdf.Drawing
- EO.Pdf.Mvc
- EO.Web
- EO.WebBrowser
- EO.WebBrowser.DOM
- EO.WebEngine
- EO.WinForm
- EO.Wpf
- EO.Wpf.Gauge
- EO.Wpf.Gauge.Shapes
- EO.Wpf.Primitives
- EO.Wpf.Themes.Aero
- EO.Wpf.Themes.Classic
- EO.Wpf.Themes.Luna
- EO.Wpf.Themes.Metro
- EO.Wpf.Themes.Royale
- JavaScript API Reference
- .NET API Reference
TriggerMode Property |
Gets or sets the condition that triggers the HTML to PDF conversion.
The default value is Auto, which means the HTML to PDF converter will wait for all page contents to be loaded (CSS, images, etc) before starting conversion. You can override this behavior by setting TriggerMode to Manual or Dual.
When TriggerMode is set to either Manual or Dual, you must manually trigger the conversion from JavaScript by calling the following code:
eoapi.convert();
If you do not call eoapi.convert() in your page, then the conversion will not start. It will eventually fail with a time out error.
When TriggerMode is set to Manual, the converter will start immediately as soon as eoapi.convert() is called, regardless whether all page contents are loaded or not. When TriggerMode is set to Dual, the converter will still wait for page contents to be loaded. The conversion will start only after page contents are loaded and eoapi.convert() is called.