Inherits SystemIDisposable.
This class represents paging seal configuration. This configuration can be set by function PagingSealSignature.SetPagingSealConfig .
◆ PagingSealPosition
Enumeration for paging seal position.
Values of this enumeration should be used alone.
Enumerator |
---|
e_PagingSealPositionLeft | Left Paging Seal.
|
e_PagingSealPositionRight | Right Paging Seal.
|
e_PagingSealPositionTop | Top Paging Seal.
|
e_PagingSealPositionBottom | Bottom Paging Seal.
|
◆ PagingSealConfig()
Constructor, with parameter.
- Parameters
-
[in] | paging_seal_position | The position of paging seal. Please refer to values starting from foxit.pdf.PagingSealConfig.PagingSealPosition.e_PagingSealPositionLeft and this would be one of these values. |
[in] | offset | The offset of paging seal. 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. |
◆ Set()
Set value.
- Parameters
-
[in] | paging_seal_position | The position of paging seal. Please refer to values starting from foxit.pdf.PagingSealConfig.PagingSealPosition.e_PagingSealPositionLeft and this would be one of these values. |
[in] | offset | The offset of paging seal. 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.
◆ offset
float foxit.pdf.PagingSealConfig.offset |
|
getset |
The offset of paging seal signature.
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 signature. If offset bigger than the maximum value, the maximum will be used.
-
For top paging seal and bottom paging seal, this value will be the horizontal offset of the left of signature rectangle.
-
For right paging seal,left paging seal, this value will be the vertical offset of the bottom of signature rectangle.
-
For the parameter is_on_perforation is true, this value will be the vertical offset of the bottom of signature rectangle.