ImgConverterSaveImageFromHtmlStringToFileWithTempFile Method (String, ImageFormat, String, String) |
This method produces a image from the specified HTML string in the specified format
and saves the image in the specified disk file by writing first the HTML string into a temporary file.
The existing file will be overwritten.
Namespace: ExpertPdf.HtmlToPdfAssembly: ExpertPdf.HtmlToPdf (in ExpertPdf.HtmlToPdf.dll) Version: 11.0.0
Syntaxpublic void SaveImageFromHtmlStringToFileWithTempFile(
string htmlString,
ImageFormat format,
string outFile,
string urlBase
)
Public Sub SaveImageFromHtmlStringToFileWithTempFile (
htmlString As String,
format As ImageFormat,
outFile As String,
urlBase As String
)
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 - urlBase
- Type: SystemString
The URL base of the page
See Also