ChangeResolution Method of the ImageDocument Object

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



HRESULT ChangeResolution( int NewResolution );


void ChangeResolution( int NewResolution );

Visual Basic .NET

Sub ChangeResolution(NewResolution As Integer)


[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.


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



24.03.2023 8:51:52

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.