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

Convert HTML text to PDF and write output to a PdfPage object.

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

Parameters

htmlToPdf
The IHtmlToPdfExtension object.
html
The html text.
page
The output page.
options
The conversion options that would override Options if specified.
Remarks

This is the async version of this method..

See Also