CropImage Method of the ImageProcessingTools Object

This method crops an image.

Syntax

Visual Basic .NET

Function CropImage( _
  Image As Image, _
  Left As Integer, _
  Top As Integer, _
  Right As Integer, _
  Bottom As Integer, _
) As Image
    

C++

HRESULT CropImage(
  IImage*  Image,
  int      Left,
  int      Top,
  int      Right,
  int      Bottom,
  IImage** Result
);
    

Parameters

Image
[in] This variable refers to the Image object which is to be preprocessed.
Left
[in] Specifies the coordinate of the left border of the resulting image in pixels.
Top
[in] Specifies the coordinate of the top border of the resulting image in pixels.
Right
[in] Specifies the coordinate of the right border of the resulting image in pixels.
Bottom
[in] Specifies the coordinate of the bottom border of the resulting image in pixels.
Result
[out, retval] A pointer to the IImage* pointer variable that provides access to the resulting image.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

See also

ImageProcessingTools

15.08.2023 13:19:30

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.