此类表示打印设备的设置数据。这将在类 Renderer 中使用。
- 参见
- Renderer
◆ GetCopies()
| fsdk.PrintDeviceSettingData.GetCopies |
( |
| ) |
|
Get 要打印的份数。此参数仅对PostScript文件有效。
- 返回
- 要打印的份数。此参数仅对PostScript文件有效。
◆ GetDevice_height()
| fsdk.PrintDeviceSettingData.GetDevice_height |
( |
| ) |
|
Get 设备的高度(以像素为单位)。
- 返回
- 设备的高度(以像素为单位)。
◆ GetDevice_margin()
| fsdk.PrintDeviceSettingData.GetDevice_margin |
( |
| ) |
|
Get 设备的页边距。
- 注解
- 此值不表示矩形。它只定义设备的左边距、下边距、 右边距和上边距。该值不应为负数。
- 返回
- 设备的页边距。
◆ GetDevice_width()
| fsdk.PrintDeviceSettingData.GetDevice_width |
( |
| ) |
|
Get 设备的宽度(以像素为单位)。
- 返回
- 设备的宽度(以像素为单位)。
◆ GetOrientation()
| fsdk.PrintDeviceSettingData.GetOrientation |
( |
| ) |
|
◆ GetResolution()
| fsdk.PrintDeviceSettingData.GetResolution |
( |
| ) |
|
Get 设备的分辨率,以每英寸像素数为单位。
- 返回
- 设备的分辨率,以每英寸像素数为单位。
◆ Set()
| def fsdk.PrintDeviceSettingData.Set |
( |
|
device_width, |
|
|
|
device_height, |
|
|
|
device_margin, |
|
|
|
orientation, |
|
|
|
resolution, |
|
|
|
copies |
|
) |
| |
◆ SetCopies()
| fsdk.PrintDeviceSettingData.SetCopies |
( |
|
value | ) |
|
Set 要打印的份数。此参数仅对PostScript文件有效。
- 参数
-
| [in] | value | 要打印的份数。此参数仅对PostScript文件有效。 |
- 返回
- None.
◆ SetDevice_height()
| fsdk.PrintDeviceSettingData.SetDevice_height |
( |
|
value | ) |
|
Set 设备的高度(以像素为单位)。
- 参数
-
- 返回
- None.
◆ SetDevice_margin()
| fsdk.PrintDeviceSettingData.SetDevice_margin |
( |
|
value | ) |
|
Set 设备的页边距。
- 注解
- 此值不表示矩形。它只定义设备的左边距、下边距、 右边距和上边距。该值不应为负数。
- 参数
-
- 返回
- None.
◆ SetDevice_width()
| fsdk.PrintDeviceSettingData.SetDevice_width |
( |
|
value | ) |
|
Set 设备的宽度(以像素为单位)。
- 参数
-
- 返回
- None.
◆ SetOrientation()
| fsdk.PrintDeviceSettingData.SetOrientation |
( |
|
value | ) |
|
◆ SetResolution()
| fsdk.PrintDeviceSettingData.SetResolution |
( |
|
value | ) |
|
Set 设备的分辨率,以每英寸像素数为单位。
- 参数
-
| [in] | value | 设备的分辨率,以每英寸像素数为单位。 |
- 返回
- None.