HtmlToImageConvertUrlToFile Method

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

Definition

Namespace: HiQPdf.Chromium
Assembly: HiQPdf.Chromium (in HiQPdf.Chromium.dll) Version: 16.4.0
C#
public void ConvertUrlToFile(
	string url,
	ImageType format,
	string outFile
)

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
outFile  String
The output image file path

See Also