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.



HRESULT AddInvertRegion( IRegion* Region );


void AddInvertRegion( IRegion Region );

Visual Basic .NET

Sub AddInvertRegion(Region As IRegion)


[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.


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

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.