ImageGear PDF v25.2 - Updated
Invert(ImGearRectangle) Method




ImageGear.OCR Assembly > ImageGear.OCR Namespace > ImGearOCRImage Class > Invert Method : Invert(ImGearRectangle) Method
Rectangular region of the image to invert.
Inverts the specified rectangular region of the image.
Syntax
'Declaration
 
Public Overloads MustOverride Sub Invert( _
   ByVal rect As ImGearRectangle _
) 
'Usage
 
Dim instance As ImGearOCRImage
Dim rect As ImGearRectangle
 
instance.Invert(rect)
public abstract void Invert( 
   ImGearRectangle rect
)
public: abstract void Invert( 
   ImGearRectangle rect
) 
public:
abstract void Invert( 
   ImGearRectangle rect
) 

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 (ImGearOCRPreprocessingSettings.InversionMode property). The inverted image replaces the original one and is available to the recognition engine and the application.
See Also

Reference

ImGearOCRImage Class
ImGearOCRImage Members
Overload List
ImGearRectangle Structure
ImGearOCRPreprocessingSettings Class

Is this page helpful?
Yes No
Thanks for your feedback.