Version

DeviceUnitType Enumeration

Indicates the type of the value that is represented by the DeviceUnitLength.
Syntax
'Declaration
 
Public Enum DeviceUnitType 
   Inherits System.Enum
public enum DeviceUnitType : System.Enum 
Members
MemberDescription
CentimeterUnits are expressed as centimeters. One centimeter is equal to approximately 567 twips.
DeviceIndependentUnitThe units are measured in Device Independent Units (DIUs) where 96 units equals 1 inch.
InchUnits are expressed as inches (U.S. customary units). One inch is equal to 1,440 twips.
PixelThe units are measured in Pixels.
PointUnits are expressed as DTPs (desktop publishing points), a unit equal to 1/72 of an inch. One point is equal to 20 twips.
TwipUnits are expressed as one-twentieths of a point, or 1/1440 of an inch.
Requirements

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

See Also