2021 Property
Changes 8
P

FormatOptions.DisplayUnits

Description:
The units and display format used to format values.
Remarks:
Most display units represent simple units like meters, square feet, or degrees, and are formatted as decimal numbers. Some display units represent specialized formatting methods like "feet and fractional inches" or "degrees, minutes and seconds".
[ObsoleteAttribute("This property is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `GetUnitTypeId()` and `SetUnitTypeId(ForgeTypeId)` methods instead.")]
public DisplayUnitType DisplayUnits { get; set; }