Get the red 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.4.0.0 (26.4.0.0)
Syntax
C#
public byte Red { get; set; }
Property Value
ByteExceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | When getting the value: the color is invalid or uninitialized. |
