ImageGear for .NET
Clear Method
See Also  Send Feedback
ImageGear21.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecImage Class : Clear Method




rect
Rectangular region of the image to clear.

Glossary Item Box

Clears the specified rectangular region of the image.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

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

©2013. Accusoft Corporation. All Rights Reserved.