2021 Method Back to 2021
M

CanSuppressLeadingZeros

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2021).
Not present in: 2022, 2023, 2024, 2025, 2025.3, 2026, 2027
2021 current
FormatOptions.CanSuppressLeadingZeros(DisplayUnitType)
Became obsolete in 2021: This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `CanSuppressLeadingZeros(ForgeTypeId)` overload instead.
displayUnit DisplayUnitType The display unit.
→ returns Boolean True if leading zeros can be suppressed, false otherwise.