Click or drag to resize
ImgConverterSaveImageFromHtmlFileToFile Method
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: ExpertPdf.HtmlToPdf
Assembly: ExpertPdf.HtmlToPdf (in ExpertPdf.HtmlToPdf.dll) Version: 11.0.0
Syntax
public void SaveImageFromHtmlFileToFile(
	string htmlFilePath,
	ImageFormat format,
	string outFile
)

Parameters

htmlFilePath
Type: SystemString
The HTML file full path to be converted to image
format
Type: System.Drawing.ImagingImageFormat
The output image format
outFile
Type: SystemString
The output file full path
See Also