|
Foxit PDF SDK
|
Public 成员函数 | |
| PrintDeviceSettingData () | |
| 构造函数并设置默认值。 更多... | |
| PrintDeviceSettingData (int device_width, int device_height, RectF device_margin, int orientation, int resolution, int copies) | |
| 带参数的构造函数。 更多... | |
| PrintDeviceSettingData (PrintDeviceSettingData settings) | |
| 带另一个打印设备设置数据对象的构造函数。 更多... | |
| synchronized void | delete () |
| 直接清除C++相关资源。 更多... | |
| int | getCopies () |
| Get 要打印的份数。此参数仅对PostScript文件有效。 更多... | |
| int | getDevice_height () |
| Get 设备的高度(以像素为单位)。 更多... | |
| RectF | getDevice_margin () |
| Get 设备的页边距。 更多... | |
| int | getDevice_width () |
| Get 设备的宽度(以像素为单位)。 更多... | |
| int | getOrientation () |
| Get 方向标志。请参考从 OrientationFlag::e_Portrait 开始的值, 这应该是其中的一个值。 更多... | |
| int | getResolution () |
| Get 设备的分辨率,以每英寸像素数为单位。 更多... | |
| void | set (int device_width, int device_height, RectF device_margin, int orientation, int resolution, int copies) |
| 设置值。 更多... | |
| void | setCopies (int value) |
| Set 要打印的份数。此参数仅对PostScript文件有效。 更多... | |
| void | setDevice_height (int value) |
| Set 设备的高度(以像素为单位)。 更多... | |
| void | setDevice_margin (RectF value) |
| Set 设备的页边距。 更多... | |
| void | setDevice_width (int value) |
| Set 设备的宽度(以像素为单位)。 更多... | |
| void | setOrientation (int value) |
| Set 方向标志。请参考从 OrientationFlag::e_Portrait 开始的值, 这应该是其中的一个值。 更多... | |
| void | setResolution (int value) |
| Set 设备的分辨率,以每英寸像素数为单位。 更多... | |
静态 Public 属性 | |
| static final int | e_Landscape = 1 |
| 打印的横向方向。 | |
| static final int | e_Portrait = 0 |
| 打印的纵向方向。 | |
| com.foxit.sdk.common.PrintDeviceSettingData.PrintDeviceSettingData | ( | int | device_width, |
| int | device_height, | ||
| RectF | device_margin, | ||
| int | orientation, | ||
| int | resolution, | ||
| int | copies | ||
| ) |
带参数的构造函数。
| [in] | device_width | 设备的宽度(以像素为单位)。 |
| [in] | device_height | 设备的高度(以像素为单位)。 |
| [in] | device_margin | 设备的页边距。它不表示矩形。它只定义设备的左边距、下边距、 右边距和上边距。 |
| [in] | orientation | 方向标志。请参考从 OrientationFlag::e_Portrait 开始的值, 这应该是其中的一个值。 |
| [in] | resolution | 设备的分辨率,以每英寸像素数为单位。 |
| [in] | copies | 要打印的份数。此参数仅对PostScript文件有效。 |
| com.foxit.sdk.common.PrintDeviceSettingData.PrintDeviceSettingData | ( | ) |
构造函数并设置默认值。
默认情况下,A4纸的像素值设置为300 dpi(每英寸点数)。
| com.foxit.sdk.common.PrintDeviceSettingData.PrintDeviceSettingData | ( | PrintDeviceSettingData | settings | ) |
带另一个打印设备设置数据对象的构造函数。
| [in] | settings | 另一个打印设备设置对象。 |
| synchronized void com.foxit.sdk.common.PrintDeviceSettingData.delete | ( | ) |
直接清除C++相关资源。
| com.foxit.sdk.common.PrintDeviceSettingData.getCopies | ( | ) |
Get 要打印的份数。此参数仅对PostScript文件有效。
| com.foxit.sdk.common.PrintDeviceSettingData.getDevice_height | ( | ) |
Get 设备的高度(以像素为单位)。
| com.foxit.sdk.common.PrintDeviceSettingData.getDevice_margin | ( | ) |
Get 设备的页边距。
| com.foxit.sdk.common.PrintDeviceSettingData.getDevice_width | ( | ) |
Get 设备的宽度(以像素为单位)。
| com.foxit.sdk.common.PrintDeviceSettingData.getOrientation | ( | ) |
Get 方向标志。请参考从 OrientationFlag::e_Portrait 开始的值, 这应该是其中的一个值。
| com.foxit.sdk.common.PrintDeviceSettingData.getResolution | ( | ) |
Get 设备的分辨率,以每英寸像素数为单位。
| void com.foxit.sdk.common.PrintDeviceSettingData.set | ( | int | device_width, |
| int | device_height, | ||
| RectF | device_margin, | ||
| int | orientation, | ||
| int | resolution, | ||
| int | copies | ||
| ) |
设置值。
| [in] | device_width | 设备的宽度(以像素为单位)。 |
| [in] | device_height | 设备的高度(以像素为单位)。 |
| [in] | device_margin | 设备的页边距。它不表示矩形。它只定义设备的左边距、下边距、 右边距和上边距。 |
| [in] | orientation | 方向标志。请参考从 OrientationFlag::e_Portrait 开始的值, 这应该是其中的一个值。 |
| [in] | resolution | 设备的分辨率,以每英寸像素数为单位。 |
| [in] | copies | 要打印的份数。此参数仅对PostScript文件有效。 |
| com.foxit.sdk.common.PrintDeviceSettingData.setCopies | ( | int | value | ) |
Set 要打印的份数。此参数仅对PostScript文件有效。
| [in] | value | 要打印的份数。此参数仅对PostScript文件有效。 |
| com.foxit.sdk.common.PrintDeviceSettingData.setDevice_height | ( | int | value | ) |
Set 设备的高度(以像素为单位)。
| [in] | value | 设备的高度(以像素为单位)。 |
| com.foxit.sdk.common.PrintDeviceSettingData.setDevice_margin | ( | RectF | value | ) |
Set 设备的页边距。
| [in] | value | 设备的页边距。 |
| com.foxit.sdk.common.PrintDeviceSettingData.setDevice_width | ( | int | value | ) |
Set 设备的宽度(以像素为单位)。
| [in] | value | 设备的宽度(以像素为单位)。 |
| com.foxit.sdk.common.PrintDeviceSettingData.setOrientation | ( | int | value | ) |
Set 方向标志。请参考从 OrientationFlag::e_Portrait 开始的值, 这应该是其中的一个值。
| [in] | value | 方向标志。请参考从 OrientationFlag::e_Portrait 开始的值, 这应该是其中的一个值。 |
| com.foxit.sdk.common.PrintDeviceSettingData.setResolution | ( | int | value | ) |
Set 设备的分辨率,以每英寸像素数为单位。
| [in] | value | 设备的分辨率,以每英寸像素数为单位。 |