HtmlToImageConverterConvertUrl Method

Converts an URL to an image having the given image format and returns the rendered image into a memory buffer

Definition

Namespace: Winnovative
Assembly: WnvHtmlToPdf_NetCore (in WnvHtmlToPdf_NetCore.dll) Version: 18.0.0
C#
public byte[] ConvertUrl(
	string url,
	ImageFormat format
)

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 is accepted as an URL if necessary
format  ImageFormat
The image format

Return Value

Byte
A memory buffer containing the the generated image

See Also