HtmlPrintQuality

Adjusts the resolution of the image output by HtmlToImage.

Member of namespace

Convert

Syntax

bool HtmlPrintQuality (int dpi)

Parameters

dpi
Type: int
A single positive numeric value for the dots per inch (dpi) of the output image.

Returns

False if the parameter is invalid. Otherwise, True.

Level

Page level.

Details

Sets the resolution of the output image for HtmlToImage. If this action is not called, the default value of 200 dpi is used. Typically, input documents for recognition are 200 dpi.
Example:
HtmlPrintQuality(200)
HtmlDocumentToImage()