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

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

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

Parameters

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

This is the async version of this method..

See Also