TextFragmentCollection
Vue d’ensemble
TextFragmentCollection est une classe dans Aspose.PDF FOSS pour Python.
Collection d’objets TextFragment.
Cette classe fournit 7 méthodes pour travailler avec des objets TextFragmentCollection dans les programmes Python. Les méthodes disponibles incluent: __init__, add, clear, contains, get_enumerator, item, remove. Tous les membres publics sont accessibles à toute application Python après l’installation du package Aspose.PDF FOSS pour Python.
Méthodes
| Signature | Description |
|---|---|
__init__() | Calls init sur cette instance TextFragmentCollection. |
add(fragment: TextFragment) → TextFragmentCollection | Appelle add(fragment) sur cette instance TextFragmentCollection. |
remove(fragment: TextFragment) | Appelle remove(fragment) sur cette instance TextFragmentCollection. |
clear() | Appelle clear sur cette instance TextFragmentCollection. |
contains(fragment: TextFragment) → bool | Appelle contains(fragment) sur cette instance TextFragmentCollection. |
item(index: int) → TextFragment | Appelle item(index) sur cette instance TextFragmentCollection. |
get_enumerator() | Renvoie l’enumerator. |