Skip to content

WKHtmlToPdf.Execute method

Executes the converter process and returns the PDF bytes.

public byte[] Execute()

Return Value

The generated PDF bytes.

Exceptions

exception condition
ArgumentNullException ExecutablePath or Url is null.
InvalidOperationException An error occurred during process execution.

See Also