API Documentation > CorelDRAW > 2025-v26 > Color > IVGColor
Color.ConvertToBW method
Converts the color model to Black and White
Syntax:
Sub ConvertToBW()
Remarks:
The ConvertToBW method converts the active color model to the black-and-white color model in CorelDRAW. A color is an effect applied to an object that alters the object's appearance by the way it reflects light. A color model is a system that defines the number and type of colors that make up an image and that is used to organize and define colors according to a set of basic properties that can be reproduced. Black-and-white, grayscale, RGB, CMYK, and paletted are examples of popular color modes. The black-and-white color model is a 1-bit color mode that stores images as two solid colors - black and white - with no gradations. This color mode is useful for line art and simple graphics.
Examples:
The following VBA example converts all uniform fill colors in the selected shapes to the black and-white color model.
Sub Test()
Dim c As New color
Dim s As Shape
For Each s In ActiveSelection.Shapes
  If s.Fill.Type = cdrUniformFill Then

 s.Fill.UniformColor.ConvertToBW
  End If
Next s 
End Sub