Gets or sets an Integer value, that represents the green component of an RGB color.
Applies to: Color object, ColorEntry object
[[Let] greenRet =] object.Green [Let] object.Green = greenSet |
The Green property syntax has these parts:
Part | Description |
object | Required. An expression that returns an object from the Applies to list. |
greenRet | Optional. An Integer type variable. |
greenSet | Required. An expression that returns an Integer value. |
The Green property is only effective if the color is an RGB color (see the IsRGB property).
This example contains a document-level script. It demonstrates how to find out the value of the green component of the fill color (in RGB format) of a Shape object.
dim s as shape ' Create a Shape object |
See Also |
Blue property, Green property, Red property, IsRGB Property |