Skip to content

ColorFillSchemeEntry.Caption

Public 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.