FormatOptions.IsValidUnitSymbol
Description:
Checks whether a unit symbol is valid for the display unit in this FormatOptions.
Checks whether a unit symbol is valid for the display unit in this FormatOptions.
Overloads (2):
IsValidUnitSymbol(UnitSymbolType)
[ObsoleteAttribute("This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `IsValidSymbol(ForgeTypeId)` method instead.")]
public bool IsValidUnitSymbol(
UnitSymbolType unitSymbol
)
-
unitSymbolThe unit symbol to check.
Return Value
bool
True if the unit symbol is valid, false otherwise.
-
A value passed for an enumeration argument is not a member of that enumeration
-
UseDefault is true in this FormatOptions.