DS.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GrayscaleBitmap Class / Clear Method / Clear(Int32,Rectangle) Method
The value (from 0 to 255) to fill the image.
The target rectangle of the GrayscaleBitmap.

In This Topic
Clear(Int32,Rectangle) Method
In This Topic
Clears the GrayscaleBitmap with the specified value (from 0 to 255).
Syntax
'Declaration
 
Public Overloads Sub Clear( _
   ByVal value As System.Integer, _
   ByVal rect As System.Drawing.Rectangle _
) 
 

Parameters

value
The value (from 0 to 255) to fill the image.
rect
The target rectangle of the GrayscaleBitmap.
See Also