ImageGear .NET v25.0 - Updated
Clear Method (ImGearOCRImage)




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

Parameters

rect
Rectangular region of the image to clear.
Remarks
Clears all pixel values in the rectangular region of the image to 0.

With a bitonal image, setting all its bits to zero (0) results in an entirely white image. In other cases, the resulting image is entirely black.

If the opposite color is desired, use the Invert method to perform inversion of the region after having it cleared.

See Also

Reference

ImGearOCRImage Class
ImGearOCRImage Members
ImGearRectangle Structure