Revit 2026 API
Format |
Checks whether trailing 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 CanSuppressTrailingZeros()
Public Function CanSuppressTrailingZeros As Boolean
public: bool CanSuppressTrailingZeros()
member CanSuppressTrailingZeros : unit -> bool
Return Value
BooleanTrue if trailing zeros can be suppressed, false otherwise.
| Exception | Condition |
|---|---|
| InvalidOperationException | UseDefault is true in this FormatOptions. |
See Also