EVO PDF Logo

HtmlToImageConverterConvertUrlToFile Method

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

Namespace:  EvoPdfClient
Assembly:  EvoPdfClient_NetCore (in EvoPdfClient_NetCore.dll) Version: 10.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: EvoPdfClientImageType
The image format
outFile
Type: SystemString
The full path of the file where to write the rendered image
See Also

Reference