ImgConverterGetImageFromHtmlFile Method |
Gets an System.Drawing.Image object from the specified HTML file in the
the specified System.Drawing.Imaging.ImageFormat format
Namespace: ExpertPdf.HtmlToPdfAssembly: ExpertPdf.HtmlToPdf (in ExpertPdf.HtmlToPdf.dll) Version: 11.0.0
Syntaxpublic Image GetImageFromHtmlFile(
string htmlFilePath,
ImageFormat format
)
Public Function GetImageFromHtmlFile (
htmlFilePath As String,
format As ImageFormat
) As Image
Parameters
- htmlFilePath
- Type: SystemString
The HTMl file full path - format
- Type: System.Drawing.ImagingImageFormat
The image format
Return Value
Type:
ImageThe rendered System.Drawing.Image object
See Also