FormatOptions.CanUsePlusPrefix
Description:
Checks whether a plus prefix can be displayed for a given display unit.
Checks whether a plus prefix can be displayed for a given display unit.
Overloads (3):
[ObsoleteAttribute("This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `CanUsePlusPrefix(ForgeTypeId)` overload instead.")]
public static bool CanUsePlusPrefix(
DisplayUnitType displayUnit
)
-
displayUnitThe display unit.
Return Value
bool
True if a plus prefix can be displayed, false otherwise.
-
displayUnit is an invalid display unit. See UnitUtils.IsValidDisplayUnit(DisplayUnitType) and UnitUtils.GetValidDisplayUnits().
-
A value passed for an enumeration argument is not a member of that enumeration