Click or drag to resize

ImgConverterSaveImageFromHtmlStringToFile Method (String, ImageFormat, String)

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

Namespace:  ExpertPdf.HtmlToPdf
Assembly:  ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax
public void SaveImageFromHtmlStringToFile(
	string htmlString,
	ImageFormat format,
	string outFile
)

Parameters

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