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 Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →