Foxit PDF SDK
FSPagingSealConfig类 参考

继承自 NSObject .

构造函数

(id) - initWithPaging_seal_position:offset:first_page_percent:is_on_perforation:paging_seal_style:is_display_multiple_seal:page_count_for_each_seal:
 带参数的构造函数。
更多...
 
(void) - set:offset:first_page_percent:is_on_perforation:paging_seal_style:is_display_multiple_seal:page_count_for_each_seal:
 设置值。
更多...
 

属性

float first_page_percent
 第一个分页印章的百分比。其余百分比将由其他分页印章平均分配。 此参数应大于0.0,小于1.0。

 
BOOL is_display_multiple_seal
 决定是否为当前分页印章签名显示多个分页印章外观。YES表示显示多个分页印章 外观,每count页使用一个分页印章外观,count由page_count_for_each_seal设置。NO表示不显示。 当参数is_on_perforation为YES时,此参数无效。

 
BOOL is_on_perforation
 决定是否切断覆盖每两页左边距或右边距的印章。YES表示分页印章签名 将成对添加到页面中,参数paging_seal_position和参数first_page_percent 将不起作用。NO表示不切断。

 
float offset
 分页印章签名的偏移量。
更多...
 
int page_count_for_each_seal
 每个印章的页数。此值仅在参数is_display_multiple_seal为YES时有用。 此值应大于1。如果最后一个印章的页数为1,它将与前一个印章合并形成一个印章。

 
FSPagingSealConfigPagingSealPosition paging_seal_position
 分页印章的位置。请参考从 FSPagingSealConfigPagingSealPositionLeft 开始的值,这将是这些值中的一个。

 
FSPagingSealConfigPagingSealStyle paging_seal_style
 分页印章签名的样式。请参考从 FSPagingSealConfigPagingSealStyleMultipleSignatures 开始的值,这将是这些值中的一个。
更多...
 

详细描述

此类表示分页印章配置。 此配置可以通过函数 FSPagingSealSignature::setPagingSealConfig: 设置。

函数文档

◆ initWithPaging_seal_position:offset:first_page_percent:is_on_perforation:paging_seal_style:is_display_multiple_seal:page_count_for_each_seal:()

- (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
paging_seal_style: (FSPagingSealConfigPagingSealStyle)  paging_seal_style
is_display_multiple_seal: (BOOL)  is_display_multiple_seal
page_count_for_each_seal: (int)  page_count_for_each_seal 

带参数的构造函数。

参数
[in]paging_seal_position分页印章的位置。请参考从 FSPagingSealConfigPagingSealPositionLeft 开始的值,这将是这些值中的一个。
[in]offset分页印章的偏移量。此值不应为负数。
[in]first_page_percent第一个分页印章的百分比。此参数应大于0.0,小于1.0。
[in]is_on_perforation决定是否切断覆盖每两页边距的印章。
[in]paging_seal_style分页印章签名样式。请参考从 FSPagingSealConfigPagingSealStyleMultipleSignatures 开始的值,这将是这些值中的一个。
[in]is_display_multiple_seal决定是否为当前分页印章签名显示多个分页印章外观,默认值:NO。
[in]page_count_for_each_seal每个印章的页数。此值应大于1,默认值:30。

◆ set:offset:first_page_percent:is_on_perforation:paging_seal_style:is_display_multiple_seal:page_count_for_each_seal:()

- (void) set: (FSPagingSealConfigPagingSealPosition)  paging_seal_position
offset: (float)  offset
first_page_percent: (float)  first_page_percent
is_on_perforation: (BOOL)  is_on_perforation
paging_seal_style: (FSPagingSealConfigPagingSealStyle)  paging_seal_style
is_display_multiple_seal: (BOOL)  is_display_multiple_seal
page_count_for_each_seal: (int)  page_count_for_each_seal 

设置值。

参数
[in]paging_seal_position分页印章的位置。请参考从 FSPagingSealConfigPagingSealPositionLeft 开始的值,这将是这些值中的一个。
[in]offset分页印章的偏移量。此值不应为负数。
[in]first_page_percent第一个分页印章的百分比。此参数应大于0.0,小于1.0。
[in]is_on_perforation决定是否切断覆盖每两页边距的印章。
[in]paging_seal_style分页印章签名样式。请参考从 FSPagingSealConfigPagingSealStyleMultipleSignatures 开始的值,这将是这些值中的一个。
[in]is_display_multiple_seal决定是否为当前分页印章签名显示多个分页印章外观,默认值:NO。
[in]page_count_for_each_seal每个印章的页数。此值应大于1,默认值:30。
返回
None.

属性说明

◆ offset

- (float) offset
readwritenonatomicassign

分页印章签名的偏移量。

此值不应为负数。偏移量的最大值是页面宽度或页面高度减去 分页印章签名矩形的宽度或高度的值。如果偏移量大于最大值,将使用最大值。

  • 对于顶部分页印章和底部分页印章,此值将是签名矩形左侧的水平偏移量。
  • 对于右侧分页印章和左侧分页印章,此值将是签名矩形底部的垂直偏移量。
  • 对于参数is_on_perforation为YES的情况,此值将是签名矩形底部的垂直偏移量。


◆ paging_seal_style

- (FSPagingSealConfigPagingSealStyle) paging_seal_style
readwritenonatomicassign

分页印章签名的样式。请参考从 FSPagingSealConfigPagingSealStyleMultipleSignatures 开始的值,这将是这些值中的一个。

不同样式之间无法相互转换。默认值: FSPagingSealConfigPagingSealStyleMultipleSignatures 。