Foxit PDF SDK
FoxitPDFSDKPython3.PostScriptDeviceSettingData Class Reference

Inherits FoxitPDFSDKPython3._object.

Public Member Functions

def PostScriptDeviceSettingData (device_width, device_height, device_margin, orientation, resolution, copies)
 Constructor, with parameters. More...
 
def Set (device_width, device_height, device_margin, orientation, resolution, copies)
 Set value. More...
 

Static Public Attributes

 copies = _swig_property(_fsdk.PostScriptDeviceSettingData_copies_get, _fsdk.PostScriptDeviceSettingData_copies_set)
 The number of copies to be printed.
 
 device_height = _swig_property(_fsdk.PostScriptDeviceSettingData_device_height_get, _fsdk.PostScriptDeviceSettingData_device_height_set)
 The height of the device in pixels.
 
 device_margin = _swig_property(_fsdk.PostScriptDeviceSettingData_device_margin_get, _fsdk.PostScriptDeviceSettingData_device_margin_set)
 The page margins of the device. More...
 
 device_width = _swig_property(_fsdk.PostScriptDeviceSettingData_device_width_get, _fsdk.PostScriptDeviceSettingData_device_width_set)
 The width of the device in pixels.
 
 e_Landscape = _fsdk.PostScriptDeviceSettingData_e_Landscape
 Landscape orientation for printing.
 
 orientation = _swig_property(_fsdk.PostScriptDeviceSettingData_orientation_get, _fsdk.PostScriptDeviceSettingData_orientation_set)
 Orientation flag. Please refer to values starting from and this should be one of these values.
 
 resolution = _swig_property(_fsdk.PostScriptDeviceSettingData_resolution_get, _fsdk.PostScriptDeviceSettingData_resolution_set)
 The resolution of the device in pixels per inch.
 

Detailed Description

This class represents setting data for PostScrip device. This would be used in class Renderer .

See also
Renderer

Constructor & Destructor Documentation

◆ PostScriptDeviceSettingData()

def FoxitPDFSDKPython3.PostScriptDeviceSettingData.PostScriptDeviceSettingData (   device_width,
  device_height,
  device_margin,
  orientation,
  resolution,
  copies 
)

Constructor, with parameters.

Constructor, with another PostScrip device setting data object.

Constructor and set the default value.

Parameters
[in]device_widthThe width of the device in pixels.
[in]device_heightThe height of the device in pixels.
[in]device_marginThe page margins of the device. it does not represent a rectangle. It just defines the left margin, bottom margin, right margin and top margin of the device.
[in]orientationOrientation flag. Please refer to values starting from and this should be one of these values. resolution The resolution of the device in pixels per inch. copies The number of copies to be printed. By default, the pixel value of an A4 paper is set to 300 dpi (dots per inch). settings Another PostScrip device settings object.

Member Function Documentation

◆ Set()

def FoxitPDFSDKPython3.PostScriptDeviceSettingData.Set (   device_width,
  device_height,
  device_margin,
  orientation,
  resolution,
  copies 
)

Set value.

Parameters
[in]device_widthThe width of the device in pixels.
[in]device_heightThe height of the device in pixels.
[in]device_marginThe page margins of the device. it does not represent a rectangle. It just defines the left margin, bottom margin, right margin and top margin of the device.
[in]orientationOrientation flag. Please refer to values starting from and this should be one of these values. resolution The resolution of the device in pixels per inch. copies The number of copies to be printed. None.

Member Data Documentation

◆ device_margin

FoxitPDFSDKPython3.PostScriptDeviceSettingData.device_margin = _swig_property(_fsdk.PostScriptDeviceSettingData_device_margin_get, _fsdk.PostScriptDeviceSettingData_device_margin_set)
static

The page margins of the device.

Note
This value does not represent a rectangle. It just defines the left margin, bottom margin, right margin and top margin of the device. The value should not be negative.