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
03.07.2024 8:50:25