HtmlToImageConverterConvertHtmlFile Method
Converts a HTML file to an image having the given format and returns the rendered image into a memory buffer
Namespace: EvoPdfAssembly: EvoHtmlToPdf_NetCore (in EvoHtmlToPdf_NetCore.dll) Version: 11.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