AddClipRegion Method of the ImageModification Object

This method adds a new clipping region to the internal array of clipping regions of the ImageModification object. To remove all the clipping regions previously added call the IImageModification::ClearClipRegions method. If the modification must be applied to a single color (or gray) plane of the image, coordinates of the region should be specified on this color (gray) plane. If the modification must be applied to the whole ImageModification, the coordinates should be specified on the deskewed black-and-white image plane.

Syntax

HRESULT AddClipRegion( IRegion* Region );
    

Parameters

Region
[in] This parameter of the Region type specifies the clipping region to be added.

Return values

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

Remarks

Clipping regions specify what part of the image will be affected during modification. Only part of image inside the bounding region of the clipping regions is processed, and the part of image inside the bounding region that does not belong to any of the clipping regions, is filled in with the white color.

See also

ImageModification

ClearClipRegions

7/3/2024 8:50:25 AM

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.