NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PrinterUnit Enumeration

Specifies several of the units of measure Win32 uses for printing.

[Visual Basic]
Public Enum PrinterUnit
[C#]
public enum PrinterUnit
[C++]
public enum PrinterUnit

[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.

Remarks

System.Drawing.Printing.PrintPreviewController, PrinterSettings, and System.Drawing.Printing.PageSetupDialog use this enumeration.

Note   Most users will never need to use this enum.

Members

Member Name Description
Display The default unit (.01 in).
HundredthsOfAMillimeter One hundredth of a millimeter (.01 mm).
TenthsOfAMillimeter One tenth of a millimeter (.1 mm).
ThousandthsOfAnInch One thousandth of an inch (.001 in).

Requirements

Namespace: System.Drawing.Printing

Assembly: System.Drawing.dll

See Also

System.Drawing.Printing Namespace | PrinterUnitConvert