PrinterUnit 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定用于打印的多个度量单位。
public enum class PrinterUnit
public enum PrinterUnit
type PrinterUnit =
Public Enum PrinterUnit
- 继承
字段
| 名称 | 值 | 说明 |
|---|---|---|
| Display | 0 | 默认单位(0.01 in.)。 |
| ThousandthsOfAnInch | 1 | 千分之一英寸(0.001 英寸)。 |
| HundredthsOfAMillimeter | 2 | 一毫米(0.01毫米)。 |
| TenthsOfAMillimeter | 3 | 一毫米(0.1毫米)的十分之一。 |
注解
PreviewPrintController PrinterSettings和PageSetupDialog类使用此枚举。
有关打印的详细信息,请参阅 System.Drawing.Printing 命名空间概述。