The method used to round values: round to nearest, round up, or round down.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public RoundingMethod RoundingMethod { get; set; }
Property Value
RoundingMethodThe rounding method. The default is Nearest.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | When setting this property: A value passed for an enumeration argument is not a member of that enumeration |
InvalidOperationException | UseDefault is true in this FormatOptions. |