HtmlToImageConvertUrlToMemory Method

Converts the HTML document from the given URL to an image in requested format

Definition

Namespace: HiQPdf.Chromium
Assembly: HiQPdf.Chromium (in HiQPdf.Chromium.dll) Version: 16.4.0
C#
public byte[] ConvertUrlToMemory(
	string url,
	ImageType format
)

Parameters

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

Return Value

Byte
The image in requested format

See Also