HtmlToImageConverterConvertHtmlFile Method
Converts a HTML file to an image having the given format and returns the rendered image into a memory buffer
Namespace: WinnovativeAssembly: WnvHtmlToPdf_NetCore (in WnvHtmlToPdf_NetCore.dll) Version: 18.0.0
public byte[] ConvertHtmlFile(
string htmlFilePath,
ImageFormat format
)
Public Function ConvertHtmlFile (
htmlFilePath As String,
format As ImageFormat
) As Byte()
- htmlFilePath String
- The full path of the HTML file to convert to image
- format ImageFormat
- The image format
ByteA memory buffer containing the the generated image