AnnotationCollection

AnnotationCollection

Gambaran Umum

AnnotationCollection adalah kelas dalam Aspose.PDF FOSS untuk Python.

Pembungkus mirip urutan yang dapat diubah atas anotasi halaman.

Kelas ini menyediakan 6 metode untuk bekerja dengan objek AnnotationCollection dalam program Python. Metode yang tersedia meliputi: __init__, add, clear, delete, generate_appearances, insert. Semua anggota publik dapat diakses oleh aplikasi Python mana pun setelah menginstal paket Aspose.PDF FOSS untuk Python.

Metode

Tanda TanganDeskripsi
__init__(page: Page)Calls init(page) pada instance AnnotationCollection ini.
`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)Memanggil delete(index) pada instance AnnotationCollection ini.
clear()Memanggil clear pada instance AnnotationCollection ini.
generate_appearances(force: bool) → intMenyintesis aliran tampilan yang hilang untuk setiap anotasi pada halaman.

Lihat Juga

 Bahasa Indonesia