PageCollection

PageCollection

概要

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

SimplePdf のページ用コレクションラッパーです。

このクラスは、Python プログラム内で PageCollection オブジェクトを操作するための 5 つのメソッドを提供します。利用可能なメソッドは、__init__、contains、get_enumerator、index_of、item です。すべてのパブリックメンバーは、Aspose.PDF の Python 用 FOSS パッケージをインストールした後、任意の Python アプリケーションからアクセス可能です。プロパティ: count、is_read_only、page_contents、pages。

プロパティ

名前型アクセス説明
countint読み取りカウントを取得します。
is_read_onlybool読み取り読み取り専用かどうかを取得します。
pageslist[tuple[float, float, float, float]]読み取りページを取得します。
page_contentslist[bytes]読み取りページの内容を取得します。

メソッド

シグネチャ説明
`init(pdf: SimplePdfNone)`
contains(page: Any) → boolこの PageCollection インスタンスで contains(page) を呼び出します。
index_of(page: Any) → intこの PageCollection インスタンスで index_of(page) を呼び出します。
item(index: int) → Anyこの PageCollection インスタンスで item(index) を呼び出します。
get_enumerator()列挙子を返します。

参照

 日本語