This documentation is for the old version. Go to the latest Graphics Mill docs

Bitmap.Clear Method

Clears the image and sets all pixels to the specified color.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)


Visual Basic
Public Sub Clear ( _
	color As Color _
public void Clear(
	Color color



Type: Aurigma.GraphicsMill.Color

The color value which should fill the image. It is recommended to make sure that this object has the same color space as the bitmap itself. If color spaces are not match (e.g. bitmap is CMYK and this color is RGB), color will be automatically converted, but no color management will be applied.

See Also