ImageGear22.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecImage Class : Clear Method |
'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 )
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.