ImageGear .NET - Updated
Clear Method (ImGearRecImage)




ImageGear24.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecImage Class : Clear Method
Rectangular region of the image to clear.
Clears the specified rectangular region of the image.
Syntax
'Declaration
 
Public Sub Clear( _
   ByVal rect As ImGearRectangle _
) 
'Usage
 
Dim instance As ImGearRecImage
Dim rect As ImGearRectangle
 
instance.Clear(rect)
public void Clear( 
   ImGearRectangle rect
)
public: void Clear( 
   ImGearRectangle rect
) 
public:
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

ImGearRecImage Class
ImGearRecImage Members
ImGearRectangle Structure