PrinterUnit Enumeration

 

Specifies several of the units of measure used for printing.

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

type PrinterUnit

Member nameDescription
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.).

The PreviewPrintController, PrinterSettings, and PageSetupDialog classes use this enumeration.

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

.NET Framework
Available since 1.1
Return to top
Show: