TextFragmentCollection
TextFragmentCollection
Przegląd
TextFragmentCollection jest klasą w Aspose.PDF FOSS dla Python.
Kolekcja obiektów TextFragment.
Ta klasa udostępnia 7 metod do pracy z obiektami TextFragmentCollection w programach Python. Dostępne metody to: __init__, add, clear, contains, get_enumerator, item, remove. Wszystkie publiczne członki są dostępne dla każdej aplikacji Python po zainstalowaniu pakietu Aspose.PDF FOSS dla Python.
Metody
| Sygnatura | Opis |
|---|---|
__init__() | Calls init w tej instancji TextFragmentCollection. |
add(fragment: TextFragment) → TextFragmentCollection | Wywołuje add(fragment) na tej instancji TextFragmentCollection. |
remove(fragment: TextFragment) | Wywołuje remove(fragment) na tej instancji TextFragmentCollection. |
clear() | Wywołuje clear na tej instancji TextFragmentCollection. |
contains(fragment: TextFragment) → bool | Wywołuje contains(fragment) na tej instancji TextFragmentCollection. |
item(index: int) → TextFragment | Wywołuje item(index) na tej instancji TextFragmentCollection. |
get_enumerator() | Zwraca enumerator. |