[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.GcBitmap.Clear

Clear Method

Clear(Color, Rectangle?)

Clears the GcBitmap with the specified color.

Declaration
public void Clear(Color color, Rectangle? clipRect = null)
Public Sub Clear(color As Color, Optional clipRect As Rectangle? = Nothing)
Parameters
Type Name Description
Color color

The color to fill the image.

Rectangle? clipRect

The target rectangle of the GcBitmap.

Clear(uint, Rectangle?)

Clears the GcBitmap with the specified color.

Declaration
public void Clear(uint color = 16777215, Rectangle? clipRect = null)
Public Sub Clear(Optional color As UInteger = 16777215, Optional clipRect As Rectangle? = Nothing)
Parameters
Type Name Description
uint color

The color to fill the image.

Rectangle? clipRect

The target rectangle of the GcBitmap.