HtmlToImageConverterConvertHtmlFileToFile Method
Converts a HTML file to an image having the given format and writes the rendered image into a file
Namespace: WinnovativeAssembly: WnvHtmlToPdf_NetCore (in WnvHtmlToPdf_NetCore.dll) Version: 18.0.0
public void ConvertHtmlFileToFile(
string htmlFilePath,
ImageFormat format,
string outFile
)
Public Sub ConvertHtmlFileToFile (
htmlFilePath As String,
format As ImageFormat,
outFile As String
)
Parameters
- htmlFilePath String
- The full path of the HTML file to convert to image
- format ImageFormat
- The image format
- outFile String
- The full path of the file where to write the rendered image