AnnotationCollection

AnnotationCollection

نمای کلی

AnnotationCollection یک کلاس در Aspose.PDF FOSS برای Python است.

پوشش قابل تغییر شبیه به دنباله بر روی حاشیه‌نویسی‌های صفحه.

این کلاس 6 متد برای کار با اشیای AnnotationCollection در برنامه‌های Python فراهم می‌کند. متدهای موجود شامل: __init__, add, clear, delete, generate_appearances, insert هستند. تمام اعضای عمومی پس از نصب بسته Aspose.PDF FOSS برای Python، برای هر برنامه Python قابل دسترسی هستند.

روش ها

امضاتوضیح
__init__(page: Page)Calls init(page) در این نمونه 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جریان‌های نمایشی گمشده برای هر حاشیه‌نویسی در صفحه را ترکیب کنید.

همچنین ببینید:

 فارسی