CimPen.Color (property)

Gets and sets the pen color.
Syntax: OLE_COLOR = object.Color
object.Color = OLE_COLOR
Description: CimPen.Color contains the pen color. The value is a number composed of three color components. Each color component is one byte. This means that each color component is a number from 0 to 255. The high to low byte order is red, green and blue. To get a color from the three individual color components, use the CimGraphControl.RGB method.

The value of this property defaults to RGB(0, 0, 0) (black) in all pens.