|
Foxit PDF SDK
|
Public Member Functions | |
| def | GetCopies () |
| Get the number of copies to be printed. More... | |
| def | GetDevice_height () |
| Get the height of the device in pixels. More... | |
| def | GetDevice_margin () |
| Get the page margins of the device. More... | |
| def | GetDevice_width () |
| Get the width of the device in pixels. More... | |
| def | GetOrientation () |
| Get orientation flag. More... | |
| def | GetResolution () |
| Get the resolution of the device in pixels per inch. More... | |
| def | Set (device_width, device_height, device_margin, orientation, resolution, copies) |
| Set value. More... | |
| def | SetCopies (value) |
| Set the number of copies to be printed. More... | |
| def | SetDevice_height (value) |
| Set the height of the device in pixels. More... | |
| def | SetDevice_margin (value) |
| Set the page margins of the device. More... | |
| def | SetDevice_width (value) |
| Set the width of the device in pixels. More... | |
| def | SetOrientation (value) |
| Set orientation flag. More... | |
| def | SetResolution (value) |
| Set the resolution of the device in pixels per inch. More... | |
This class represents setting data for print device. This would be used in class Renderer .
| fsdk.PrintDeviceSettingData.GetCopies | ( | ) |
Get the number of copies to be printed.
| fsdk.PrintDeviceSettingData.GetDevice_height | ( | ) |
Get the height of the device in pixels.
| fsdk.PrintDeviceSettingData.GetDevice_margin | ( | ) |
Get the page margins of the device.
| fsdk.PrintDeviceSettingData.GetDevice_width | ( | ) |
Get the width of the device in pixels.
| fsdk.PrintDeviceSettingData.GetOrientation | ( | ) |
Get orientation flag.
| fsdk.PrintDeviceSettingData.GetResolution | ( | ) |
Get the resolution of the device in pixels per inch.
| def fsdk.PrintDeviceSettingData.Set | ( | device_width, | |
| device_height, | |||
| device_margin, | |||
| orientation, | |||
| resolution, | |||
| copies | |||
| ) |
Set value.
| [in] | device_width | The width of the device in pixels. |
| [in] | device_height | The height of the device in pixels. |
| [in] | device_margin | The 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] | orientation | Orientation 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. This parameter only has an effect on PostScrip files. None. |
| fsdk.PrintDeviceSettingData.SetCopies | ( | value | ) |
Set the number of copies to be printed.
| [in] | value | The number of copies to be printed. This parameter only has an effect on PostScrip files. |
| fsdk.PrintDeviceSettingData.SetDevice_height | ( | value | ) |
Set the height of the device in pixels.
| [in] | value | The height of the device in pixels. |
| fsdk.PrintDeviceSettingData.SetDevice_margin | ( | value | ) |
Set the page margins of the device.
| [in] | value | The page margins of the device. |
| fsdk.PrintDeviceSettingData.SetDevice_width | ( | value | ) |
Set the width of the device in pixels.
| [in] | value | The width of the device in pixels. |
| fsdk.PrintDeviceSettingData.SetOrientation | ( | value | ) |
Set orientation flag.
| [in] | value | Orientation flag. Please refer to values starting from and this should be one of these values. None. |
| fsdk.PrintDeviceSettingData.SetResolution | ( | value | ) |
Set the resolution of the device in pixels per inch.
| [in] | value | The resolution of the device in pixels per inch. |