Foxit PDF SDK
|
Inherits NSObject.
Instance Methods | |
(id) | - initWithDevice_width:device_height:device_margin:orientation:resolution:copies: |
Constructor, with parameters. More... | |
(id) | - initWithSettings: |
Constructor, with another print device setting data object. More... | |
(void) | - set:device_height:device_margin:orientation:resolution:copies: |
Set value. More... | |
Properties | |
unsigned int | copies |
The number of copies to be printed. This parameter only has an effect on PostScrip files. | |
int | device_height |
The height of the device in pixels. | |
FSRectF * | device_margin |
The page margins of the device. More... | |
int | device_width |
The width of the device in pixels. | |
FSPrintDeviceSettingDataOrientationFlag | orientation |
Orientation flag. Please refer to values starting from and this should be one of these values. | |
int | resolution |
The resolution of the device in pixels per inch. | |
This class represents setting data for print device. This would be used in class FSRenderer .
- (id) initWithDevice_width: | (int) | device_width | |
device_height: | (int) | device_height | |
device_margin: | (FSRectF*) | device_margin | |
orientation: | (FSPrintDeviceSettingDataOrientationFlag) | orientation | |
resolution: | (int) | resolution | |
copies: | (unsigned int) | copies | |
Constructor, with 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. |
- (id) initWithSettings: | (FSPrintDeviceSettingData*) | settings |
Constructor, with another print device setting data object.
[in] | settings | Another print device settings object. |
- (void) set: | (int) | device_width | |
device_height: | (int) | device_height | |
device_margin: | (FSRectF*) | device_margin | |
orientation: | (FSPrintDeviceSettingDataOrientationFlag) | orientation | |
resolution: | (int) | resolution | |
copies: | (unsigned int) | 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. |
[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. |
|
readwritenonatomicweak |
The page margins of the device.