Winnovative HTML to PDF Converter

HtmlToImageConverterConvertUrl Method

Winnovative HTML to PDF Converter for .NET Documentation
Converts an URL to an image having the given image format and returns the rendered image into a memory buffer

Namespace:  Winnovative
Assembly:  wnvhtmltopdf (in wnvhtmltopdf.dll) Version: 17.0.0.0
Syntax

public byte[] ConvertUrl(
	string url,
	ImageFormat format
)

Parameters

url
Type: SystemString
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
Type: System.Drawing.ImagingImageFormat
The image format

Return Value

Type: Byte
A memory buffer containing the the generated image
See Also

Reference