Export (0) Print
Expand All

PrinterUnit Enumeration

Specifies several of the units of measure that the Win32 Application Programming Interface (API) uses for printing.

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

Remarks

PreviewPrintController, PrinterSettings, and PageSetupDialog use this enumeration.

For more information on printing, see the System.Drawing.Printing namespace overview.

Members

Member name Description
Display The default unit (0.01 in.).
HundredthsOfAMillimeter One-hundredth of a millimeter (0.01 mm).
TenthsOfAMillimeter One-tenth of a millimeter (0.1 mm).
ThousandthsOfAnInch One-thousandth of an inch (0.001 in.).

Requirements

Namespace: System.Drawing.Printing

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

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

See Also

System.Drawing.Printing Namespace | PageSetupDialog | PreviewPrintController | PrinterSettings | PrinterUnitConvert

Show:
© 2014 Microsoft