'Declaration Public Enum DeviceUnitType Inherits System.Enum
public enum DeviceUnitType : System.Enum
Member | Description |
---|---|
Centimeter | Units are expressed as centimeters. One centimeter is equal to approximately 567 twips. |
DeviceIndependentUnit | The units are measured in Device Independent Units (DIUs) where 96 units equals 1 inch. |
Inch | Units are expressed as inches (U.S. customary units). One inch is equal to 1,440 twips. |
Pixel | The units are measured in Pixels. |
Point | Units are expressed as DTPs (desktop publishing points), a unit equal to 1/72 of an inch. One point is equal to 20 twips. |
Twip | Units are expressed as one-twentieths of a point, or 1/1440 of an inch. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2