ImageGear .NET v25.2 - Updated
ImageGear.OCR Assembly / ImageGear.OCR Namespace / ImGearOCRImage Class / Invert Method / Invert() Method




In This Topic
    Invert() Method
    In This Topic
    Inverts the entire image.
    Syntax
    'Declaration
     
    Public Overloads MustOverride Sub Invert() 
    'Usage
     
    Dim instance As ImGearOCRImage
     
    instance.Invert()
    public abstract void Invert()
    public: abstract void Invert(); 
    public:
    abstract void Invert(); 
    Remarks
    This method performs immediate inversion of the color of each pixel 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