|
Foxit PDF SDK
|
继承自 SystemIDisposable .
Public 类型 | |
| enum | OrientationFlag { OrientationFlag.e_Portrait = 0, OrientationFlag.e_Landscape = 1 } |
| 用于指定打印机方向的枚举。 更多... | |
Public 成员函数 | |
| PrintDeviceSettingData (int device_width, int device_height, RectF device_margin, PrintDeviceSettingData.OrientationFlag orientation, int resolution, int copies) | |
| 带参数的构造函数。 更多... | |
| PrintDeviceSettingData () | |
| 构造函数并设置默认值。 更多... | |
| PrintDeviceSettingData (PrintDeviceSettingData settings) | |
| 带另一个打印设备设置数据对象的构造函数。 更多... | |
| void | Set (int device_width, int device_height, RectF device_margin, PrintDeviceSettingData.OrientationFlag orientation, int resolution, int copies) |
| 设置值。 更多... | |
属性 | |
| int | copies [get, set] |
| 要打印的份数。此参数仅对PostScript文件有效。 | |
| int | device_height [get, set] |
| 设备的高度(以像素为单位)。 | |
| RectF? | device_margin [get, set] |
| 设备的页边距。 更多... | |
| int | device_width [get, set] |
| 设备的宽度(以像素为单位)。 | |
| PrintDeviceSettingData.OrientationFlag | orientation [get, set] |
| 方向标志。请参考从 开始的值, 这应该是其中的一个值。 | |
| int | resolution [get, set] |
| 设备的分辨率,以每英寸像素数为单位。 | |
|
inline |
带参数的构造函数。
| [in] | device_width | 设备的宽度(以像素为单位)。 |
| [in] | device_height | 设备的高度(以像素为单位)。 |
| [in] | device_margin | 设备的页边距。它不表示矩形。它只定义设备的左边距、下边距、 右边距和上边距。 |
| [in] | orientation | 方向标志。请参考从 开始的值, 这应该是其中的一个值。 resolution 设备的分辨率,以每英寸像素数为单位。 copies 要打印的份数。此参数仅对PostScript文件有效。 |
|
inline |
构造函数并设置默认值。
默认情况下,A4纸的像素值设置为300 dpi(每英寸点数)。
|
inline |
带另一个打印设备设置数据对象的构造函数。
| [in] | settings | 另一个打印设备设置对象。 |
|
inline |
设置值。
| [in] | device_width | 设备的宽度(以像素为单位)。 |
| [in] | device_height | 设备的高度(以像素为单位)。 |
| [in] | device_margin | 设备的页边距。它不表示矩形。它只定义设备的左边距、下边距、 右边距和上边距。 |
| [in] | orientation | 方向标志。请参考从 开始的值, 这应该是其中的一个值。 resolution 设备的分辨率,以每英寸像素数为单位。 copies 要打印的份数。此参数仅对PostScript文件有效。 无。 |
|
getset |
设备的页边距。