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

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

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

Parameters

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

This is the async version of this method..

See Also