AnnotationCollection

AnnotationCollection

סקירה כללית

AnnotationCollection היא מחלקה ב-Aspose.PDF FOSS עבור Python.

עטיפה מתחלפת בדומה לרצף על אנוטציות דף.

מחלקה זו מספקת 6 שיטות לעבודה עם עצמים מסוג AnnotationCollection בתוכניות Python. השיטות הזמינות כוללות: __init__, add, clear, delete, generate_appearances, insert. כל החברים הציבוריים נגישים לכל יישום Python לאחר התקנת חבילת Aspose.PDF FOSS עבור Python.

שיטות

חתימהתיאור
__init__(page: Page)Calls init(דף) על המופע הזה של AnnotationCollection.
`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)קורא ל-delete(index) על המופע הזה של AnnotationCollection.
clear()קורא לפונקציית clear על מופע AnnotationCollection זה.
generate_appearances(force: bool) → intסינתזה של זרמי appearance streams חסרים עבור כל annotation בעמוד.

ראה גם

 עברית