Color.Red Property
Visio Automation Reference |
Gets or sets the intensity of the red component of a Color object. Read/write.
Version Information
Version Added: Visio 4.0
Syntax
expression.Red
expression A variable that represents a Color object.
Return Value
Integer
Remarks
The Red property can be a value from zero (0) to 255.
A color is represented by red, green, and blue components. It also has flags that indicate how the color is to be used. These correspond to members of the Microsoft Windows PALETTEENTRY data structure. For details, search for "PALETTEENTRY" in the Microsoft Platform SDK on MSDN, the Microsoft Developer Network.
See Also