PdfFileEditor

PdfFileEditor

Gambaran Umum

PdfFileEditor adalah kelas dalam Aspose.PDF FOSS untuk Python.

Facade untuk operasi penyuntingan berkas PDF.

Kelas ini menyediakan 9 metode untuk bekerja dengan objek PdfFileEditor dalam program Python. Metode yang tersedia meliputi: __init__, add_page_break, append, close, concatenate, delete, dispose, extract, insert. Semua anggota publik dapat diakses oleh aplikasi Python mana pun setelah memasang paket Aspose.PDF FOSS untuk Python. Properti: last_exception.

Properti

NamaJenisAksesDeskripsi
last_exception`BaseExceptionNone`Baca

Metode

Tanda tanganDeskripsi
__init__()Calls init pada instance PdfFileEditor ini.
close()Tutup editor dan bebaskan sumber daya.
dispose()Tandai editor sebagai dibuang.
concatenate(inputs: list[str], output: str) → boolGabungkan beberapa file PDF menjadi satu.
`extract(source: str, destination: str, page_from: intNone, page_to: int
insert(source: str, insert_file: str, destination: str, position: int) → boolSisipkan halaman dari satu PDF ke PDF lainnya.
`delete(source: str, destination: str, pages_to_delete: Any, page_to: intNone, page_from: int
append(source: str, append_source: str, destination: str) → boolTambahkan halaman dari satu PDF ke PDF lainnya.
add_page_break(input_path: str, output_path: str) → boolTambahkan halaman kosong ke PDF.

Lihat Juga

 Bahasa Indonesia