Chinese Simplified (简体中文)

ChangeResolution Method of the ImageDocument Object

This method changes the resolution of the image. The size of the image in pixels remains unchanged.

Syntax

HRESULT ChangeResolution( int NewResolution );
    

Parameters

NewResolution
[in] Contains the new value for the resolution. Must be in range from 50 to 3200 dpi.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

Remarks

You can use the DetectResolution method of the FRPage object to choose the best resolution for the image from given range.

Image resolution can also be changed when opening images if the OverwriteResolution or AutoOverwriteResolution properties of the PrepareImageMode object are set to TRUE. In this case, the new resolution will be used for image preprocessing (i.e., for binarization, deskewing, etc.). The ChangeResolution method allows you to change the resolution of the open image.

See also

ImageDocument

PrepareImageMode

7/3/2024 8:50:25 AM

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.