LabelUtils.GetLabelFor
Description:
Gets the user-visible name for a UnitSymbolType.
Gets the user-visible name for a UnitSymbolType.
Remarks:
The name is obtained in the current Revit language.
The name is obtained in the current Revit language.
Overloads (12):
GetLabelFor(UnitSymbolType)
public static string GetLabelFor(
UnitSymbolType unitSymbolType
)
-
unitSymbolTypeThe UnitSymbolType to get the user-visible name.
Return Value
string
-
UnitSymbolType cannot be None.
-
A value passed for an enumeration argument is not a member of that enumeration