ExpertPdf Html to Pdf Converter Library
SaveImageFromHtmlStringToFile Method (htmlString, format, outFile)
NamespacesExpertPdf.HtmlToPdfImgConverterSaveImageFromHtmlStringToFile(String, ImageFormat, String)
ExpertPdf Html to Pdf Converter Library
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
Declaration Syntax
C#Visual BasicVisual C++
public void SaveImageFromHtmlStringToFile(
	string htmlString,
	ImageFormat format,
	string outFile
)
Public Sub SaveImageFromHtmlStringToFile ( 
	htmlString As String,
	format As ImageFormat,
	outFile As String
)
public:
void SaveImageFromHtmlStringToFile(
	String^ htmlString, 
	ImageFormat^ format, 
	String^ outFile
)
Parameters
htmlString (String)
The HTML string to be converted to image
format (ImageFormat)
The output image format
outFile (String)
The output file full path

Assembly: ExpertPdf.HtmlToPdf (Module: ExpertPdf.HtmlToPdf.dll) Version: 9.2.0.25824 (9.2.0.0)