FormatOptions.CanSuppressSpaces
Description:
Checks whether spaces can be suppressed for a given display unit.
Checks whether spaces can be suppressed 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 `CanSuppressSpaces(ForgeTypeId)` overload instead.")]
public static bool CanSuppressSpaces(
DisplayUnitType displayUnit
)
-
displayUnitThe display unit.
Return Value
bool
True if spaces can be suppressed, 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