HtmlToImageConverterConvertUrlToFile Method

Converts an URL to image and writes the generated image into a file

Definition

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

Parameters

url  String
The URL of the HTML document to convert to image. 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 full path of the file where to write the rendered image

See Also