This method produces a image from the specified HTML file in the specified format and saves the image in the specified disk file. The existing file will be overwritten

Namespace: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0

Syntax

C#
public void SaveImageFromHtmlFileToFile(
	string htmlFilePath,
	ImageFormat format,
	string outFile
)
Visual Basic
Public Sub SaveImageFromHtmlFileToFile ( 
	htmlFilePath As String,
	format As ImageFormat,
	outFile As String
)
Visual C++
public:
void SaveImageFromHtmlFileToFile(
	String^ htmlFilePath, 
	ImageFormat^ format, 
	String^ outFile
)

Parameters

htmlFilePath
Type: System..::..String
The HTML file full path to be converted to image
format
Type: System.Drawing.Imaging..::..ImageFormat
The output image format
outFile
Type: System..::..String
The output file full path

See Also