TextFragmentCollection

TextFragmentCollection

סקירה כללית

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

אוסף של TextFragment אובייקטים.

מחלקה זו מספקת 7 שיטות לעבודה עם עצמים של TextFragmentCollection בתוכניות Python. השיטות הזמינות כוללות: __init__, add, clear, contains, get_enumerator, item, remove. כל החברים הציבוריים נגישים לכל יישום Python לאחר התקנת חבילת Aspose.PDF FOSS עבור Python.

שיטות

חתימהתיאור
__init__()Calls init במופע TextFragmentCollection זה.
add(fragment: TextFragment) → TextFragmentCollectionקורא ל-add(fragment) במופע TextFragmentCollection זה.
remove(fragment: TextFragment)קורא ל-remove(fragment) במופע TextFragmentCollection זה.
clear()קורא ל-clear במופע TextFragmentCollection זה.
contains(fragment: TextFragment) → boolמבצע קריאה ל-contains(fragment) על מופע TextFragmentCollection זה.
item(index: int) → TextFragmentמבצע קריאה ל-item(index) על מופע TextFragmentCollection זה.
get_enumerator()מחזיר את המונה.

ראה גם

 עברית