Skip to main content
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.
This method does not work with black-and-white image documents (those for which ImageColorType is ICT_BlackWhite).

Syntax

C++

HRESULT CropImage();

C#

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

ImageDocument