Foxit PDF SDK
fsdk.PrintDeviceSettingData类 参考

Public 成员函数

def GetCopies ()
 Get 要打印的份数。此参数仅对PostScript文件有效。 更多...
 
def GetDevice_height ()
 Get 设备的高度(以像素为单位)。 更多...
 
def GetDevice_margin ()
 Get 设备的页边距。 更多...
 
def GetDevice_width ()
 Get 设备的宽度(以像素为单位)。 更多...
 
def GetOrientation ()
 Get 方向标志。请参考从 开始的值, 这应该是其中的一个值。 更多...
 
def GetResolution ()
 Get 设备的分辨率,以每英寸像素数为单位。 更多...
 
def Set (device_width, device_height, device_margin, orientation, resolution, copies)
 设置值。 更多...
 
def SetCopies (value)
 Set 要打印的份数。此参数仅对PostScript文件有效。 更多...
 
def SetDevice_height (value)
 Set 设备的高度(以像素为单位)。 更多...
 
def SetDevice_margin (value)
 Set 设备的页边距。 更多...
 
def SetDevice_width (value)
 Set 设备的宽度(以像素为单位)。 更多...
 
def SetOrientation (value)
 Set 方向标志。请参考从 开始的值, 这应该是其中的一个值。 更多...
 
def SetResolution (value)
 Set 设备的分辨率,以每英寸像素数为单位。 更多...
 

详细描述

此类表示打印设备的设置数据。这将在类 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 ( )

Get 方向标志。请参考从 开始的值, 这应该是其中的一个值。

返回
方向标志。请参考从 开始的值, 这应该是其中的一个值。

◆ GetResolution()

fsdk.PrintDeviceSettingData.GetResolution ( )

Get 设备的分辨率,以每英寸像素数为单位。

返回
设备的分辨率,以每英寸像素数为单位。

◆ Set()

def fsdk.PrintDeviceSettingData.Set (   device_width,
  device_height,
  device_margin,
  orientation,
  resolution,
  copies 
)

设置值。

参数
[in]device_width设备的宽度(以像素为单位)。
[in]device_height设备的高度(以像素为单位)。
[in]device_margin设备的页边距。它不表示矩形。它只定义设备的左边距、下边距、 右边距和上边距。
[in]orientation方向标志。请参考从 开始的值, 这应该是其中的一个值。 resolution 设备的分辨率,以每英寸像素数为单位。 copies 要打印的份数。此参数仅对PostScript文件有效。 无。

◆ SetCopies()

fsdk.PrintDeviceSettingData.SetCopies (   value)

Set 要打印的份数。此参数仅对PostScript文件有效。

参数
[in]value要打印的份数。此参数仅对PostScript文件有效。
返回
None.

◆ SetDevice_height()

fsdk.PrintDeviceSettingData.SetDevice_height (   value)

Set 设备的高度(以像素为单位)。

参数
[in]value设备的高度(以像素为单位)。
返回
None.

◆ SetDevice_margin()

fsdk.PrintDeviceSettingData.SetDevice_margin (   value)

Set 设备的页边距。

注解
此值不表示矩形。它只定义设备的左边距、下边距、 右边距和上边距。该值不应为负数。
参数
[in]value设备的页边距。
返回
None.

◆ SetDevice_width()

fsdk.PrintDeviceSettingData.SetDevice_width (   value)

Set 设备的宽度(以像素为单位)。

参数
[in]value设备的宽度(以像素为单位)。
返回
None.

◆ SetOrientation()

fsdk.PrintDeviceSettingData.SetOrientation (   value)

Set 方向标志。请参考从 开始的值, 这应该是其中的一个值。

参数
[in]value方向标志。请参考从 开始的值, 这应该是其中的一个值。 None.

◆ SetResolution()

fsdk.PrintDeviceSettingData.SetResolution (   value)

Set 设备的分辨率,以每英寸像素数为单位。

参数
[in]value设备的分辨率,以每英寸像素数为单位。
返回
None.