Revit 2025.3 API
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: 25.3.0.0 (25.3.0.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| Exception | Condition |
|---|---|
| InvalidOperationException | When getting the value: the color is invalid or uninitialized. |
See Also