Color.Red property (Visio)

Gets or sets the intensity of the red component of a Color object. Read/write.

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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.