ImageGear for .NET
Invert(ImGearRectangle) Method
See Also  Send Feedback
ImageGear21.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecImage Class > Invert Method : Invert(ImGearRectangle) Method




rect
Rectangular region of the image to invert.

Glossary Item Box

Inverts the specified rectangular region of the image.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

rect
Rectangular region of the image to invert.

Remarks

This method performs immediate inversion of the color of each pixel within the specified rectangular region of the image. For example, white becomes black, and black becomes white. This method ignores the image inversion mode setting (ImGearRecPreprocessingSettings.InversionMode property). The inverted image replaces the original one and is available to the recognition engine and the application.

See Also

©2013. Accusoft Corporation. All Rights Reserved.