A text caption to use for the given mode.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public string GetCaption( TemporaryViewMode mode )
Parameters
- mode TemporaryViewMode
- The mode to get a caption for.
Return Value
StringText of the caption. The text is localized.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |