ChangeResolution Method of the ImageDocument Object
This method changes the resolution of the image. The size of the image in pixels remains unchanged.
Syntax
C++
HRESULT ChangeResolution( int NewResolution );
C#
void ChangeResolution( int NewResolution );
Visual Basic .NET
Sub ChangeResolution(NewResolution As Integer)
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 during preprocessing. See the OverwriteResolutionMode and ResolutionToOverwrite properties of the PagePreprocessingParams object.
See also
07.11.2025 12:48:30