The units and display format used to format values.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.0.0.0)
Since:
2014
Syntax
C# |
---|
[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; } |
Visual Basic |
---|
<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 Property DisplayUnits As DisplayUnitType
Get
Set |
Visual C++ |
---|
[ObsoleteAttribute(L"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:
property DisplayUnitType DisplayUnits {
DisplayUnitType get ();
void set (DisplayUnitType value);
} |
Field Value
The display unit.
Remarks
Exceptions
See Also