AddInvertRegion Method of the ImageModification Object

This method adds a new inversion region to the internal array of inversion regions of the ImageModification object. To remove all the inversion regions previously added call the IImageModification::ClearInvertRegions 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 to the whole ImageModification, the coordinates should be specified on the deskewed black-and-white image plane.

Syntax

HRESULT AddInvertRegion( IRegion* Region );
    

Parameters

Region
[in] This parameter of the Region type specifies the inversion 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

Colors of the image inside the inversion regions will be inverted when IImageDocument::Modify method is applied.

See also

ImageModification

ClearInvertRegions

03.07.2024 8:50:25

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.