Click or drag to resize
Pdf Library for .NET

HtmlToPdfConvertHtmlStringAsync Method

Overload List
 NameDescription
Public methodCode exampleConvertHtmlStringAsync(String) Asynchronously renders the specified HTML string and returns the result as a PDF document.
Public methodConvertHtmlStringAsync(String, String) Asynchronously renders the specified HTML string, resolving relative resources against the given base URL, and returns the result as a PDF document.
Public methodConvertHtmlStringAsync(String, CancellationToken) Asynchronously renders the specified HTML string and returns the result as a PDF document, stopping when the specified token is cancelled.
Public methodCode exampleConvertHtmlStringAsync(String, String, CancellationToken) Asynchronously renders the specified HTML string, resolving relative resources against the given base URL, and returns the result as a PDF document, stopping when the specified token is cancelled.
Top
See Also