This class represents setting data for print device. This would be used in class Renderer .
- See also
- Renderer
◆ GetCopies()
| fsdk.PrintDeviceSettingData.GetCopies |
( |
| ) |
|
Get the number of copies to be printed.
- Returns
- The number of copies to be printed. This parameter only has an effect on PostScrip files.
◆ GetDevice_height()
| fsdk.PrintDeviceSettingData.GetDevice_height |
( |
| ) |
|
Get the height of the device in pixels.
- Returns
- The height of the device in pixels.
◆ GetDevice_margin()
| fsdk.PrintDeviceSettingData.GetDevice_margin |
( |
| ) |
|
Get 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.
- Returns
- The page margins of the device.
◆ GetDevice_width()
| fsdk.PrintDeviceSettingData.GetDevice_width |
( |
| ) |
|
Get the width of the device in pixels.
- Returns
- The width of the device in pixels.
◆ GetOrientation()
| fsdk.PrintDeviceSettingData.GetOrientation |
( |
| ) |
|
◆ GetResolution()
| fsdk.PrintDeviceSettingData.GetResolution |
( |
| ) |
|
Get the resolution of the device in pixels per inch.
- Returns
- The resolution of the device in pixels per inch.
◆ Set()
| def fsdk.PrintDeviceSettingData.Set |
( |
|
device_width, |
|
|
|
device_height, |
|
|
|
device_margin, |
|
|
|
orientation, |
|
|
|
resolution, |
|
|
|
copies |
|
) |
| |
Set value.
- Parameters
-
| [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. |
| [in] | resolution | The resolution of the device in pixels per inch.
|
| [in] | copies | The number of copies to be printed. This parameter only has an effect on PostScrip files.
|
- Returns
- None.
◆ SetCopies()
| fsdk.PrintDeviceSettingData.SetCopies |
( |
|
value | ) |
|
Set the number of copies to be printed.
- Parameters
-
| [in] | value | The number of copies to be printed. This parameter only has an effect on PostScrip files.
|
- Returns
- None.
◆ SetDevice_height()
| fsdk.PrintDeviceSettingData.SetDevice_height |
( |
|
value | ) |
|
Set the height of the device in pixels.
- Parameters
-
| [in] | value | The height of the device in pixels.
|
- Returns
- None.
◆ SetDevice_margin()
| fsdk.PrintDeviceSettingData.SetDevice_margin |
( |
|
value | ) |
|
Set 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.
- Parameters
-
| [in] | value | The page margins of the device.
|
- Returns
- None.
◆ SetDevice_width()
| fsdk.PrintDeviceSettingData.SetDevice_width |
( |
|
value | ) |
|
Set the width of the device in pixels.
- Parameters
-
| [in] | value | The width of the device in pixels.
|
- Returns
- None.
◆ SetOrientation()
| fsdk.PrintDeviceSettingData.SetOrientation |
( |
|
value | ) |
|
Set orientation flag.
- Parameters
-
- Returns
- None.
◆ SetResolution()
| fsdk.PrintDeviceSettingData.SetResolution |
( |
|
value | ) |
|
Set the resolution of the device in pixels per inch.
- Parameters
-
| [in] | value | The resolution of the device in pixels per inch.
|
- Returns
- None.