Winnovative HTML to PDF Converter

HtmlToImageConverterConvertHtmlFile Method

Winnovative HTML to PDF Converter for .NET Documentation
Converts a HTML file to an image having the given 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[] ConvertHtmlFile(
	string htmlFilePath,
	ImageFormat format
)

Parameters

htmlFilePath
Type: SystemString
The full path of the HTML file to convert to image
format
Type: System.Drawing.ImagingImageFormat
The image format

Return Value

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

Reference