Click or drag to resize

HtmlToPdfClientconvertHtmlStringToStreamAsync Method (String, Stream)

Convert the specified HTML string to PDF with an asynchronous call and writes the resulted PDF to an output stream.

Namespace:  SelectPdf.Api
Assembly:  SelectPdf.Api (in SelectPdf.Api.dll) Version: 1.4.0
Syntax
public void convertHtmlStringToStreamAsync(
	string htmlString,
	Stream stream
)

Parameters

htmlString
Type: SystemString
HTML string with the content being converted.
stream
Type: System.IOStream
The output stream where the resulted PDF will be written.
See Also