[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.GrayscaleBitmap.Clear

Clear Method

Clear(int)

Clears the GrayscaleBitmap with the specified value (from 0 to 255).

Declaration
public void Clear(int value)
Public Sub Clear(value As Integer)
Parameters
Type Name Description
int value

The value (from 0 to 255) to fill the image.

Clear(int, Rectangle)

Clears the GrayscaleBitmap with the specified value (from 0 to 255).

Declaration
public void Clear(int value, Rectangle rect)
Public Sub Clear(value As Integer, rect As Rectangle)
Parameters
Type Name Description
int value

The value (from 0 to 255) to fill the image.

Rectangle rect

The target rectangle of the GrayscaleBitmap.