Revit 2026 API
Format |
Checks whether leading zeros can be suppressed for the display unit in this FormatOptions.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public bool CanSuppressLeadingZeros()
Public Function CanSuppressLeadingZeros As Boolean
public: bool CanSuppressLeadingZeros()
member CanSuppressLeadingZeros : unit -> bool
Return Value
BooleanTrue if leading zeros can be suppressed, false otherwise.
| Exception | Condition |
|---|---|
| InvalidOperationException | UseDefault is true in this FormatOptions. |
See Also