Table of Contents
HtmlToPdfExtension.ConvertHtmlAsync Method (IHtmlToPdfExtension, String, String, HtmlToPdfOptions)

Convert HTML text to PDF and write output to a file.

Syntax
 public static Task<T> ConvertHtmlAsync(
   IHtmlToPdfExtension htmlToPdf,
   string html,
   string pdfFileName,
   HtmlToPdfOptions options
);

Parameters

htmlToPdf
The IHtmlToPdfExtension object.
html
The html text.
pdfFileName
The output PDF file name.
options
The conversion options that would override Options if specified.
Remarks

This is the async version of this method..

See Also