HtmlToImageConverterConvertHtmlFile Method

Converts a HTML file to an image having the given format and returns the rendered image into a memory buffer

Definition

Namespace: EvoPdf
Assembly: EvoHtmlToPdf_NetCore (in EvoHtmlToPdf_NetCore.dll) Version: 11.0.0
C#
public byte[] ConvertHtmlFile(
	string htmlFilePath,
	ImageFormat format
)

Parameters

htmlFilePath  String
The full path of the HTML file to convert to image
format  ImageFormat
The image format

Return Value

Byte
A memory buffer containing the the generated image

See Also