Share via


Green Property [Visio 2003 SDK Documentation]

Gets or sets the intensity of the green component of a Color object.

intRet = object**.Green**

object**.Green** = intVal

intRet     Integer. The current value of the color's green component.

object     Required. An expression that returns a Color object.

intVal     Required Integer. The new value of the color's green component.

Version added

4.0

Remarks

The Green property can be a value from 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.

Applies to | Color object

See Also | Blue property | Flags property | PaletteEntry property | Red property