FormatOptions.CanSuppressTrailingZeros Method

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.4.0.0 (26.4.0.0)

Syntax

C#

public bool CanSuppressTrailingZeros()

Return Value

Boolean
True if trailing zeros can be suppressed, false otherwise.

Exceptions

ExceptionCondition
InvalidOperationException UseDefault is true in this FormatOptions.

See Also

Reference

FormatOptions Class
CanSuppressTrailingZeros Overload
Autodesk.Revit.DB Namespace