Foxit PDF SDK
FoxitPDFSDKPython2.PagingSealConfig Class Reference

Inherits FoxitPDFSDKPython2._object.

Public Member Functions

def PagingSealConfig (paging_seal_position, offset, first_page_percent, is_on_perforation, paging_seal_style)
 Constructor, with parameter.
More...
 
def Set (paging_seal_position, offset, first_page_percent, is_on_perforation, paging_seal_style)
 Set value.
More...
 

Static Public Attributes

 e_PagingSealPositionBottom = _fsdk.PagingSealConfig_e_PagingSealPositionBottom
 Bottom Paging Seal.

 
 e_PagingSealPositionLeft = _fsdk.PagingSealConfig_e_PagingSealPositionLeft
 Left Paging Seal.

 
 e_PagingSealPositionRight = _fsdk.PagingSealConfig_e_PagingSealPositionRight
 Right Paging Seal.

 
 e_PagingSealPositionTop = _fsdk.PagingSealConfig_e_PagingSealPositionTop
 Top Paging Seal.

 
 e_PagingSealStyleMultipleSignatures = _fsdk.PagingSealConfig_e_PagingSealStyleMultipleSignatures
 Add multiple signatures. Use the Signature to display the appearance of paging seal signature, and these signatures share the same signature data.

 
 e_PagingSealStyleOneSignature = _fsdk.PagingSealConfig_e_PagingSealStyleOneSignature
 Only add one signature. This signature is used for signature and verification and will be hidden in the PDF document. Use the FoxitPDFSDKPython2.PagingSeal annotation to display the appearance of paging seal signature.

 
 first_page_percent = _swig_property(_fsdk.PagingSealConfig_first_page_percent_get, _fsdk.PagingSealConfig_first_page_percent_set)
 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.

 
 is_on_perforation = _swig_property(_fsdk.PagingSealConfig_is_on_perforation_get, _fsdk.PagingSealConfig_is_on_perforation_set)
 Decide whether to chop a seal that covering the left or right margin of each two pages. true means the paging seal signatures will be added to pages in pairs, and the parameter paging_seal_position and the parameter first_page_percent will have no effect. false means not.

 
 offset = _swig_property(_fsdk.PagingSealConfig_offset_get, _fsdk.PagingSealConfig_offset_set)
 The offset of paging seal signature.
More...
 
 paging_seal_position = _swig_property(_fsdk.PagingSealConfig_paging_seal_position_get, _fsdk.PagingSealConfig_paging_seal_position_set)
 The position of paging seal. Please refer to values starting from FoxitPDFSDKPython2.PagingSealConfig.e_PagingSealPositionLeft and this would be one of these values.

 

Detailed Description

This class represents paging seal configuration. This configuration can be set by function FoxitPDFSDKPython2.PagingSealSignature.SetPagingSealConfig .

Constructor & Destructor Documentation

◆ PagingSealConfig()

def FoxitPDFSDKPython2.PagingSealConfig.PagingSealConfig (   paging_seal_position,
  offset,
  first_page_percent,
  is_on_perforation,
  paging_seal_style 
)

Constructor, with parameter.

Parameters
[in]paging_seal_positionThe position of paging seal. Please refer to values starting from FoxitPDFSDKPython2.PagingSealConfig.e_PagingSealPositionLeft and this would be one of these values.
[in]offsetThe offset of paging seal. This value should not be a negative number.
[in]first_page_percentThe percent of the first paging seal. This parameter should larger than 0.0, less than 1.0.
[in]is_on_perforationDecide whether to chop a seal that covering the margin of each two pages.
[in]paging_seal_styleThe paging seal signature style. Please refer to values starting from FoxitPDFSDKPython2.PagingSealConfig.e_PagingSealStyleMultipleSignatures and this would be one of these values.

Member Function Documentation

◆ Set()

def FoxitPDFSDKPython2.PagingSealConfig.Set (   paging_seal_position,
  offset,
  first_page_percent,
  is_on_perforation,
  paging_seal_style 
)

Set value.

Parameters
[in]paging_seal_positionThe position of paging seal. Please refer to values starting from FoxitPDFSDKPython2.PagingSealConfig.e_PagingSealPositionLeft and this would be one of these values.
[in]offsetThe offset of paging seal. This value should not be a negative number.
[in]first_page_percentThe percent of the first paging seal. This parameter should larger than 0.0, less than 1.0.
[in]is_on_perforationDecide whether to chop a seal that covering the margin of each two pages.
[in]paging_seal_styleThe paging seal signature style. Please refer to values starting from FoxitPDFSDKPython2.PagingSealConfig.e_PagingSealStyleMultipleSignatures and this would be one of these values.

@ return None.

Member Data Documentation

◆ offset

FoxitPDFSDKPython2.PagingSealConfig.offset = _swig_property(_fsdk.PagingSealConfig_offset_get, _fsdk.PagingSealConfig_offset_set)
static

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.