Color.Green Property

ColorGreen Property

Get the green channel of the color. Setting a channel is obsolete in Autodesk Revit 2013. Please create a new color instead.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public byte Green { get; set; }
Public Property Green As Byte
	Get
	Set
public:
property unsigned char Green {
	unsigned char get ();
	void set (unsigned char value);
}
member Green : byte with get, set

Property Value

Byte
Exceptions
ExceptionCondition
InvalidOperationExceptionWhen getting the value: the color is invalid or uninitialized.
See Also