CropImage Method of the ImageDocument Object

This method finds the edges of a document on the image and then crops the image. We recommend that you call this method at the beginning of image preprocessing, before making any other modifications.

Note: This method does not work with black-and-white image documents (those for which ImageColorType is ICT_BlackWhite).



HRESULT CropImage();


void CropImage();

Visual Basic .NET

Sub CropImage()

Return values

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

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.