Caption Property


Color Fill Scheme Entry Caption Property

The text displayed in [!:Autodesk::Revit::DB::ColorFillLegend] for this entry.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public string Caption { get; set; }

Property Value

String
Exceptions
Exception Condition
ArgumentException When setting this property: newCaption is an empty string or contains only whitespace.
ArgumentNullException When setting this property: A non-optional argument was null
Remarks
This property is only meaningful for by range scheme.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →