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.
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.