PrinterUnit Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies several of the units of measure used for printing.
public enum class PrinterUnit
public enum PrinterUnit
type PrinterUnit =
Public Enum PrinterUnit
- Inheritance
Fields
Name | Value | Description |
---|---|---|
Display | 0 | The default unit (0.01 in.). |
ThousandthsOfAnInch | 1 | One-thousandth of an inch (0.001 in.). |
HundredthsOfAMillimeter | 2 | One-hundredth of a millimeter (0.01 mm). |
TenthsOfAMillimeter | 3 | One-tenth of a millimeter (0.1 mm). |
Remarks
The PreviewPrintController, PrinterSettings, and PageSetupDialog classes use this enumeration.
For more information on printing, see the System.Drawing.Printing namespace overview.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.