Foxit PDF SDK
|
Inherits NSObject.
Instance Methods | |
(id) | - initWithPaging_seal_position:offset:first_page_percent:is_on_perforation: |
Constructor, with parameter. More... | |
(void) | - set:offset:first_page_percent:is_on_perforation: |
Set value. More... | |
Properties | |
float | first_page_percent |
The percent of the first paging seal. The rest percent will be divided equally by the other paging seals. This parameter should bigger than 0.0, less than 1.0. | |
BOOL | is_on_perforation |
Decide whether to chop a seal that covering the margin of each two pages. YES means the paging seal annotations will be added to pages in pairs, and the parameter paging_seal_position and the parameter first_page_percent will have no effect. NO means not. | |
float | offset |
The offset of paging seal annotation. For top paging seal and bottom paging seal, the value will be the horizontal offset of the left of annotation rectangle. For right paging seal,left paging seal and middle paging seal, the value will be the vertical offset of the bottom of annotation rectangle. This value should not be a negative number. The maximum value of offset is the value of page width or page height minus the width or height of rectangle of paging seal annotation. If offset bigger than the maximum value, the maximum will be used. | |
FSPagingSealConfigPagingSealPosition | paging_seal_position |
The position of paging seal. Please refer to values starting from and this would be one of these values. | |
This class represents paging seal configuration. This configuration can be set by function FSPagingSealSignature::setPagingSealConfig:.
- (id) initWithPaging_seal_position: | (FSPagingSealConfigPagingSealPosition) | paging_seal_position | |
offset: | (float) | offset | |
first_page_percent: | (float) | first_page_percent | |
is_on_perforation: | (BOOL) | is_on_perforation | |
Constructor, with parameter.
[in] | paging_seal_position | The position of paging seal. Please refer to values starting from and this would be one of these values. |
[in] | offset | The offset of paging seal annotation. This value should not be a negative number. |
[in] | first_page_percent | The percent of the first paging seal. This parameter should larger than 0.0, less than 1.0. |
[in] | is_on_perforation | Decide whether to chop a seal that covering the margin of each two pages. |
- (void) set: | (FSPagingSealConfigPagingSealPosition) | paging_seal_position | |
offset: | (float) | offset | |
first_page_percent: | (float) | first_page_percent | |
is_on_perforation: | (BOOL) | is_on_perforation | |
Set value.
[in] | paging_seal_position | The position of paging seal. Please refer to values starting from and this would be one of these values. |
[in] | offset | The offset of paging seal annotation. This value should not be a negative number. |
[in] | first_page_percent | The percent of the first paging seal. This parameter should larger than 0.0, less than 1.0. |
[in] | is_on_perforation | Decide whether to chop a seal that covering the margin of each two pages. @ return None. |