HtmlToImageConvertUrlToFile Method
Converts the HTML document from the given URL to an image file in requested format.
A new instance of HtmlToImage must be created for each call to this method
Namespace: HiQPdf.ChromiumAssembly: HiQPdf.Chromium (in HiQPdf.Chromium.dll) Version: 17.5.0
public void ConvertUrlToFile(
string url,
ImageType format,
string outFile
)
Parameters
- url String
- The URL of the document to convert. The full path of a HTML file in the local file system
prefixed by file:// is accepted as an URL
- format ImageType
- The image format
- outFile String
- The output image file path