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
7/3/2024 8:50:10 AM