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.HtmlToPdfAssembly: ephtmltopdf (in ephtmltopdf.dll) Version: 21.1.0
Syntaxpublic void SaveImageFromHtmlFileToFile(
string htmlFilePath,
ImageFormat format,
string outFile
)
Public Sub SaveImageFromHtmlFileToFile (
htmlFilePath As String,
format As ImageFormat,
outFile As String
)
Parameters
- htmlFilePath String
- The HTML file full path to be converted to image
- format ImageFormat
- The output image format
- outFile String
- The output file full path
See Also