Winnovative Logo

HtmlToImageConverterConvertUrlToFile Method

Winnovative Client for .NET Core
Converts an URL to an image having the given format and writes the rendered image into a file

Namespace:  WinnovativeClient
Assembly:  WinnovativeClient_NetCore (in WinnovativeClient_NetCore.dll) Version: 17.0.0
Syntax

public void ConvertUrlToFile(
	string url,
	ImageType format,
	string outFile
)

Parameters

url
Type: SystemString
The URL of the HTML document to convert to image. The full path of a HTML file in the local file system is accepted as an URL if necessary
format
Type: WinnovativeClientImageType
The image format
outFile
Type: SystemString
The full path of the file where to write the rendered image
See Also

Reference