HtmlToImageConvertUrlToMemory Method
Converts the HTML document from the given URL to an image in requested format.
A new instance of HtmlToImage must be created for each call to this method
Namespace: HiQPdf.ChromiumAssembly: HiQPdf.Chromium (in HiQPdf.Chromium.dll) Version: 17.5.0
public byte[] ConvertUrlToMemory(
string url,
ImageType format
)
- url String
- The URL of the document to convert. The full path of a HTML file in the local file system
prefixed by file:// is accepted as an URL
- format ImageType
- The image format
ByteThe image in requested format