PdfFileEditor

PdfFileEditor

概要

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

PDF ファイル編集操作のファサード。

このクラスは、Python プログラムにおける PdfFileEditor オブジェクトを操作するための 9 つのメソッドを提供します。利用可能なメソッドは次のとおりです: __init__, add_page_break, append, close, concatenate, delete, dispose, extract, insert。すべての公開メンバーは、Aspose.PDF の Python 用 FOSS パッケージをインストールした後、任意の Python アプリケーションからアクセス可能です。プロパティ: last_exception。

プロパティ

名前型アクセス説明
last_exception`BaseExceptionNone`読み取り

メソッド

シグネチャ説明
__init__()Calls init この PdfFileEditor インスタンス上で。
close()エディタを閉じてリソースを解放してください。
dispose()エディタを破棄済みとしてマークする。
concatenate(inputs: list[str], output: str) → bool複数の PDF ファイルを1つに連結する。
`extract(source: str, destination: str, page_from: intNone, page_to: int
insert(source: str, insert_file: str, destination: str, position: int) → bool1つの PDF から別の PDF にページを挿入する。
`delete(source: str, destination: str, pages_to_delete: Any, page_to: intNone, page_from: int
append(source: str, append_source: str, destination: str) → boolPDF のページを別の PDF に追加します。
add_page_break(input_path: str, output_path: str) → boolPDF に空白ページを追加します。

参照

 日本語