Color.Red Property

ColorRed Property

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: 25.3.0.0 (25.3.0.0)
Syntax
public byte Red { get; set; }
Public Property Red As Byte
	Get
	Set
public:
property unsigned char Red {
	unsigned char get ();
	void set (unsigned char value);
}
member Red : byte with get, set

Property Value

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