PdfFileEditor
PdfFileEditor
Genel Bakış
PdfFileEditor, Aspose.PDF FOSS içinde Python için bir sınıftır.
PDF dosyası düzenleme işlemleri için bir dışkapı.
Bu sınıf, Python programlarında PdfFileEditor nesneleriyle çalışmak için 9 yöntem sağlar. Mevcut yöntemler: __init__, add_page_break, append, close, concatenate, delete, dispose, extract, insert. Tüm genel üyeler, Aspose.PDF FOSS for Python paketini kurduktan sonra herhangi bir Python uygulaması tarafından erişilebilir. Özellikler: last_exception.
Özellikler
| Ad | Tür | Erişim | Açıklama |
|---|---|---|---|
last_exception | `BaseException | None` | Okuma |
Yöntemler
| İmza | Açıklama |
|---|---|
__init__() | Calls init bu PdfFileEditor örneğinde. |
close() | Editörü kapatın ve kaynakları serbest bırakın. |
dispose() | Editörü atılmış olarak işaretle. |
concatenate(inputs: list[str], output: str) → bool | Birden fazla PDF dosyasını tek bir dosyada birleştir. |
| `extract(source: str, destination: str, page_from: int | None, page_to: int |
insert(source: str, insert_file: str, destination: str, position: int) → bool | Bir PDF’ten diğerine sayfalar ekle. |
| `delete(source: str, destination: str, pages_to_delete: Any, page_to: int | None, page_from: int |
append(source: str, append_source: str, destination: str) → bool | Bir PDF’den diğerine sayfaları ekle. |
add_page_break(input_path: str, output_path: str) → bool | PDF’ye boş bir sayfa ekle. |