|
Foxit PDF SDK
|
Public 成员函数 | |
| PagingSealConfig (int paging_seal_position, float offset, float first_page_percent, boolean is_on_perforation, int paging_seal_style, boolean is_display_multiple_seal, int page_count_for_each_seal) | |
| 带参数的构造函数。 更多... | |
| synchronized void | delete () |
| 直接清除C++相关资源。 更多... | |
| float | getFirst_page_percent () |
| Get 第一个分页印章的百分比。其余百分比将由其他分页印章平均分配。 此参数应大于0. 更多... | |
| boolean | getIs_display_multiple_seal () |
| Get 决定是否为当前分页印章签名显示多个分页印章外观。true表示显示多个分页印章 外观,每count页使用一个分页印章外观,count由page_count_for_each_seal设置。false表示不显示。 当参数is_on_perforation为true时,此参数无效。 更多... | |
| boolean | getIs_on_perforation () |
| Get 决定是否切断覆盖每两页左边距或右边距的印章。true表示分页印章签名 将成对添加到页面中,参数paging_seal_position和参数first_page_percent 将不起作用。false表示不切断。 更多... | |
| float | getOffset () |
| Get 分页印章签名的偏移量。 更多... | |
| int | getPage_count_for_each_seal () |
| Get 每个印章的页数。此值仅在参数is_display_multiple_seal为true时有用。 此值应大于1。如果最后一个印章的页数为1,它将与前一个印章合并形成一个印章。 更多... | |
| int | getPaging_seal_position () |
| Get 分页印章的位置。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealPositionLeft 开始的值,这将是这些值中的一个。 更多... | |
| int | getPaging_seal_style () |
| Get 分页印章签名的样式。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealStyleMultipleSignatures 开始的值,这将是这些值中的一个。 更多... | |
| void | set (int paging_seal_position, float offset, float first_page_percent, boolean is_on_perforation, int paging_seal_style, boolean is_display_multiple_seal, int page_count_for_each_seal) |
| 设置值。 更多... | |
| void | setFirst_page_percent (float value) |
| Set 第一个分页印章的百分比。其余百分比将由其他分页印章平均分配。 此参数应大于0. 更多... | |
| void | setIs_display_multiple_seal (boolean value) |
| Set 决定是否为当前分页印章签名显示多个分页印章外观。true表示显示多个分页印章 外观,每count页使用一个分页印章外观,count由page_count_for_each_seal设置。false表示不显示。 当参数is_on_perforation为true时,此参数无效。 更多... | |
| void | setIs_on_perforation (boolean value) |
| Set 决定是否切断覆盖每两页左边距或右边距的印章。true表示分页印章签名 将成对添加到页面中,参数paging_seal_position和参数first_page_percent 将不起作用。false表示不切断。 更多... | |
| void | setOffset (float value) |
| Set 分页印章签名的偏移量。 更多... | |
| void | setPage_count_for_each_seal (int value) |
| Set 每个印章的页数。此值仅在参数is_display_multiple_seal为true时有用。 此值应大于1。如果最后一个印章的页数为1,它将与前一个印章合并形成一个印章。 更多... | |
| void | setPaging_seal_position (int value) |
| Set 分页印章的位置。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealPositionLeft 开始的值,这将是这些值中的一个。 更多... | |
| void | setPaging_seal_style (int value) |
| Set 分页印章签名的样式。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealStyleMultipleSignatures 开始的值,这将是这些值中的一个。 更多... | |
静态 Public 属性 | |
| static final int | e_PagingSealPositionBottom = 4 |
| 底部分页印章。 | |
| static final int | e_PagingSealPositionLeft = 1 |
| 左侧分页印章。 | |
| static final int | e_PagingSealPositionRight = 2 |
| 右侧分页印章。 | |
| static final int | e_PagingSealPositionTop = 3 |
| 顶部分页印章。 | |
| static final int | e_PagingSealStyleMultipleSignatures = 0 |
| 添加多个签名。使用Signature 显示分页印章签名的外观, 这些签名共享相同的签名数据。 | |
| static final int | e_PagingSealStyleOneSignature = 1 |
| 仅添加一个签名。此签名用于签名和验证,在PDF文档中将被隐藏。 使用com.foxit.sdk.pdf.annots.PagingSeal 注释显示分页印章签名的外观。 | |
此类表示分页印章配置。 此配置可以通过函数PagingSealSignature.setPagingSealConfig 设置。
| com.foxit.sdk.pdf.PagingSealConfig.PagingSealConfig | ( | int | paging_seal_position, |
| float | offset, | ||
| float | first_page_percent, | ||
| boolean | is_on_perforation, | ||
| int | paging_seal_style, | ||
| boolean | is_display_multiple_seal, | ||
| int | page_count_for_each_seal | ||
| ) |
带参数的构造函数。
| [in] | paging_seal_position | 分页印章的位置。请参考从 com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealPositionLeft 开始的值,这将是这些值中的一个。 |
| [in] | offset | 分页印章的偏移量。此值不应为负数。 |
| [in] | first_page_percent | 第一个分页印章的百分比。此参数应大于0.0,小于1.0。 |
| [in] | is_on_perforation | 决定是否切断覆盖每两页边距的印章。 |
| [in] | paging_seal_style | 分页印章签名样式。请参考从 com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealStyleMultipleSignatures 开始的值,这将是这些值中的一个。 |
| [in] | is_display_multiple_seal | 决定是否为当前分页印章签名显示多个分页印章外观,默认值:false。 |
| [in] | page_count_for_each_seal | 每个印章的页数。此值应大于1,默认值:30。 |
| synchronized void com.foxit.sdk.pdf.PagingSealConfig.delete | ( | ) |
直接清除C++相关资源。
| com.foxit.sdk.pdf.PagingSealConfig.getFirst_page_percent | ( | ) |
Get 第一个分页印章的百分比。其余百分比将由其他分页印章平均分配。 此参数应大于0.
| com.foxit.sdk.pdf.PagingSealConfig.getIs_display_multiple_seal | ( | ) |
Get 决定是否为当前分页印章签名显示多个分页印章外观。true表示显示多个分页印章 外观,每count页使用一个分页印章外观,count由page_count_for_each_seal设置。false表示不显示。 当参数is_on_perforation为true时,此参数无效。
| com.foxit.sdk.pdf.PagingSealConfig.getIs_on_perforation | ( | ) |
Get 决定是否切断覆盖每两页左边距或右边距的印章。true表示分页印章签名 将成对添加到页面中,参数paging_seal_position和参数first_page_percent 将不起作用。false表示不切断。
| com.foxit.sdk.pdf.PagingSealConfig.getOffset | ( | ) |
Get 分页印章签名的偏移量。
此值不应为负数。偏移量的最大值是页面宽度或页面高度减去 分页印章签名矩形的宽度或高度的值。如果偏移量大于最大值,将使用最大值。
对于顶部分页印章和底部分页印章,此值将是签名矩形左侧的水平偏移量。
对于右侧分页印章和左侧分页印章,此值将是签名矩形底部的垂直偏移量。
对于参数is_on_perforation为true的情况,此值将是签名矩形底部的垂直偏移量。
| com.foxit.sdk.pdf.PagingSealConfig.getPage_count_for_each_seal | ( | ) |
Get 每个印章的页数。此值仅在参数is_display_multiple_seal为true时有用。 此值应大于1。如果最后一个印章的页数为1,它将与前一个印章合并形成一个印章。
| com.foxit.sdk.pdf.PagingSealConfig.getPaging_seal_position | ( | ) |
Get 分页印章的位置。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealPositionLeft 开始的值,这将是这些值中的一个。
| com.foxit.sdk.pdf.PagingSealConfig.getPaging_seal_style | ( | ) |
Get 分页印章签名的样式。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealStyleMultipleSignatures 开始的值,这将是这些值中的一个。
不同样式之间无法相互转换。默认值:com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealStyleMultipleSignatures 。
| void com.foxit.sdk.pdf.PagingSealConfig.set | ( | int | paging_seal_position, |
| float | offset, | ||
| float | first_page_percent, | ||
| boolean | is_on_perforation, | ||
| int | paging_seal_style, | ||
| boolean | is_display_multiple_seal, | ||
| int | page_count_for_each_seal | ||
| ) |
设置值。
| [in] | paging_seal_position | 分页印章的位置。请参考从 com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealPositionLeft 开始的值,这将是这些值中的一个。 |
| [in] | offset | 分页印章的偏移量。此值不应为负数。 |
| [in] | first_page_percent | 第一个分页印章的百分比。此参数应大于0.0,小于1.0。 |
| [in] | is_on_perforation | 决定是否切断覆盖每两页边距的印章。 |
| [in] | paging_seal_style | 分页印章签名样式。请参考从 com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealStyleMultipleSignatures 开始的值,这将是这些值中的一个。 |
| [in] | is_display_multiple_seal | 决定是否为当前分页印章签名显示多个分页印章外观,默认值:false。 |
| [in] | page_count_for_each_seal | 每个印章的页数。此值应大于1,默认值:30。 |
| com.foxit.sdk.pdf.PagingSealConfig.setFirst_page_percent | ( | float | value | ) |
Set 第一个分页印章的百分比。其余百分比将由其他分页印章平均分配。 此参数应大于0.
| [in] | value | 第一个分页印章的百分比。其余百分比将由其他分页印章平均分配。 此参数应大于0.0,小于1.0。 |
| com.foxit.sdk.pdf.PagingSealConfig.setIs_display_multiple_seal | ( | boolean | value | ) |
Set 决定是否为当前分页印章签名显示多个分页印章外观。true表示显示多个分页印章 外观,每count页使用一个分页印章外观,count由page_count_for_each_seal设置。false表示不显示。 当参数is_on_perforation为true时,此参数无效。
| [in] | value | 决定是否为当前分页印章签名显示多个分页印章外观。true表示显示多个分页印章 外观,每count页使用一个分页印章外观,count由page_count_for_each_seal设置。false表示不显示。 当参数is_on_perforation为true时,此参数无效。 |
| com.foxit.sdk.pdf.PagingSealConfig.setIs_on_perforation | ( | boolean | value | ) |
Set 决定是否切断覆盖每两页左边距或右边距的印章。true表示分页印章签名 将成对添加到页面中,参数paging_seal_position和参数first_page_percent 将不起作用。false表示不切断。
| [in] | value | 决定是否切断覆盖每两页左边距或右边距的印章。true表示分页印章签名 将成对添加到页面中,参数paging_seal_position和参数first_page_percent 将不起作用。false表示不切断。 |
| com.foxit.sdk.pdf.PagingSealConfig.setOffset | ( | float | value | ) |
Set 分页印章签名的偏移量。
此值不应为负数。偏移量的最大值是页面宽度或页面高度减去 分页印章签名矩形的宽度或高度的值。如果偏移量大于最大值,将使用最大值。
对于顶部分页印章和底部分页印章,此值将是签名矩形左侧的水平偏移量。
对于右侧分页印章和左侧分页印章,此值将是签名矩形底部的垂直偏移量。
对于参数is_on_perforation为true的情况,此值将是签名矩形底部的垂直偏移量。
| [in] | value | 分页印章签名的偏移量。 |
| com.foxit.sdk.pdf.PagingSealConfig.setPage_count_for_each_seal | ( | int | value | ) |
Set 每个印章的页数。此值仅在参数is_display_multiple_seal为true时有用。 此值应大于1。如果最后一个印章的页数为1,它将与前一个印章合并形成一个印章。
| [in] | value | 每个印章的页数。此值仅在参数is_display_multiple_seal为true时有用。 此值应大于1。如果最后一个印章的页数为1,它将与前一个印章合并形成一个印章。 |
| com.foxit.sdk.pdf.PagingSealConfig.setPaging_seal_position | ( | int | value | ) |
Set 分页印章的位置。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealPositionLeft 开始的值,这将是这些值中的一个。
| [in] | value | 分页印章的位置。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealPositionLeft 开始的值,这将是这些值中的一个。 |
| com.foxit.sdk.pdf.PagingSealConfig.setPaging_seal_style | ( | int | value | ) |
Set 分页印章签名的样式。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealStyleMultipleSignatures 开始的值,这将是这些值中的一个。
不同样式之间无法相互转换。默认值:com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealStyleMultipleSignatures 。
| [in] | value | 分页印章签名的样式。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealStyleMultipleSignatures 开始的值,这将是这些值中的一个。 |