UnsignedContent

UnsignedContent

概述

UnsignedContent 是 Aspose.PDF FOSS 中用于 Python 的类。

未签名内容的容器(页面、表单字段、注释)。

此类提供 8 个方法,用于在 Python 程序中处理 UnsignedContent 对象。可用的方法包括:__init__、add_annotation、add_form_field、add_page、remove_annotation、remove_form_field、remove_page、reset。在安装了 Aspose.PDF FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。属性:annotations、form_fields、pages。

属性

名称类型访问描述
pageslist[Any]读取获取页面。
form_fieldslist[Any]读取获取表单字段。
annotationslist[Any]读取获取注解。

方法

签名描述
__init__()使用可选集合初始化 UnsignedContent。
add_page(page: Any)向未签名的内容添加页面。
remove_page(page: Any)如果存在,从未签名的内容中移除页面。
add_form_field(field: Any)向未签名的内容添加表单字段。
remove_form_field(field: Any)如果存在,从未签名的内容中移除表单字段。
add_annotation(annotation: Any)向未签名的内容添加注释。
remove_annotation(annotation: Any)如果存在,则从未签名的内容中移除注释。
reset()将所有集合重置为空列表。

另请参阅

 中文