TextFragmentCollection
TextFragmentCollection
Prezentare generală
TextFragmentCollection este o clasă în Aspose.PDF FOSS pentru Python.
Colecție de obiecte TextFragment.
Această clasă oferă 7 metode pentru lucrul cu obiecte TextFragmentCollection în programe Python. Metodele disponibile includ: __init__, add, clear, contains, get_enumerator, item, remove. Toți membrii publici sunt accesibili oricărei aplicații Python după instalarea pachetului Aspose.PDF FOSS pentru Python.
Metode
| Semnătură | Descriere: |
|---|---|
__init__() | Calls init pe această instanță de TextFragmentCollection. |
add(fragment: TextFragment) → TextFragmentCollection | Apelează add(fragment) pe această instanță de TextFragmentCollection. |
remove(fragment: TextFragment) | Apelează remove(fragment) pe această instanță de TextFragmentCollection. |
clear() | Apelează clear pe această instanță de TextFragmentCollection. |
contains(fragment: TextFragment) → bool | Apelează contains(fragment) pe această instanță TextFragmentCollection. |
item(index: int) → TextFragment | Apelează item(index) pe această instanță TextFragmentCollection. |
get_enumerator() | Returnează enumeratorul. |