Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 1.06 KB

File metadata and controls

17 lines (11 loc) · 1.06 KB

Convert HTML to PDF with delay in C# or VB.NET

This sample shows how to delay an HTML to PDF conversion in C# or VB.NET application.

The Wait before conversion section contains additional information.

Description

There are cases when you might want to delay an HTML to PDF conversion. For example, when you want to convert a page, that executes a script after loading.

For such cases, you can set up the delay in conversion start options inside the HtmlConversionOptions. Then pass the options to the CreatePdfAsync method.

This sample code uses free Docotic.Pdf.HtmlToPdf add-on for Docotic.Pdf library.

See also