AnnotationCollection

AnnotationCollection

概要

AnnotationCollection は Aspose.PDF の FOSS における Python 用のクラスです。

ページ注釈上の可変シーケンス風ラッパー。

このクラスは、Python プログラムで AnnotationCollection オブジェクトを操作するための 6 つのメソッドを提供します。利用可能なメソッドは、__init__、add、clear、delete、generate_appearances、insert です。Aspose.PDF の Python 用 FOSS パッケージをインストールすれば、すべてのパブリックメンバーは任意の Python アプリケーションからアクセス可能です。

メソッド

シグネチャ説明
__init__(page: Page)Calls init(ページ)この AnnotationCollection インスタンス上で。
`add(subtype: str, rect: tuple[float, float, float, float], contents: str, title: strNone, appearance_normal: bytes
`insert(index: int, subtype: str, rect: tuple[float, float, float, float], contents: str, title: strNone, appearance_normal: bytes
delete(index: int)この AnnotationCollection インスタンスで delete(index) を呼び出します。
clear()この AnnotationCollection インスタンスで clear を呼び出します。
generate_appearances(force: bool) → intページ上のすべてのアノテーションに対して、欠落している appearance streams を合成します。

参照

 日本語