< Rev API Docs

The FormatOptions type exposes the following members.

Properties

  NameDescription
Public propertyAccuracy
The accuracy to which values will be rounded.
Public propertyDisplayUnits Obsolete.
The units and display format used to format values.
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public propertyRoundingMethod
The method used to round values: round to nearest, round up, or round down.
Public propertySuppressLeadingZeros
Indicates if leading zeros should be suppressed in feet and fractional inches.
Public propertySuppressSpaces
Indicates if spaces around the dash should be suppressed in feet and fractional inches.
Public propertySuppressTrailingZeros
Indicates if trailing zeros after the decimal point should be suppressed.
Public propertyUnitSymbol Obsolete.
The unit symbol that should be displayed to indicate the units of the value.
Public propertyUseDefault
Indicates whether default or custom formatting should be used.
Public propertyUseDigitGrouping
Indicates if digit grouping symbols should be displayed.
Public propertyUsePlusPrefix
Indicates if a plus sign prefix should be displayed for positive and zero values.

See Also