Share

Autodesk.Windows.ScaleFactorRounding Enumeration

Description

This enum specifies mathematical rounding performed when applying a scale factor to a value or when converting a scale factor to another type.

Visual Basic

Public Enum ScaleFactorRounding
  None
  Ceiling
  Floor
  RoundAwayFromZero
  RoundToEven
  Truncate
End Enum

C#

public enum ScaleFactorRounding {
  None,
  Ceiling,
  Floor,
  RoundAwayFromZero,
  RoundToEven,
  Truncate
}

Dynamic-Link Library (DLL)

AdUIMgd.dll

Members

Members Description
None No rounding performed.
Ceiling Result is the smallest integer that is greater than or equal to the value.
Floor Result is the largest integer that is less than or equal to the value.
RoundAwayFromZero When the result is halfway between two others, it is rounded toward the nearest value that is away from zero.
RoundToEven When the result is halfway between two others, it is rounded toward the nearest even value.
Truncate Result is the integral part of the value.

Was this information helpful?