This documentation is archived and is not being maintained.

GraphicsUnit Enumeration

Specifies the unit of measure for the given data.

[Visual Basic]
<Serializable>
Public Enum GraphicsUnit
[C#]
[Serializable]
public enum GraphicsUnit
[C++]
[Serializable]
__value public enum GraphicsUnit
[JScript]
public
   Serializable
enum GraphicsUnit

Members

Member name Description
Display Specifies 1/75 inch as the unit of measure.
Document Specifies the document unit (1/300 inch) as the unit of measure.
Inch Specifies the inch as the unit of measure.
Millimeter Specifies the millimeter as the unit of measure.
Pixel

Supported by the .NET Compact Framework.

Specifies a device pixel as the unit of measure.
Point Specifies a printer's point (1/72 inch) as the unit of measure.
World Specifies the world unit as the unit of measure.

Requirements

Namespace: System.Drawing

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System.Drawing (in System.Drawing.dll)

See Also

System.Drawing Namespace

Show: