TextFragmentCollection

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

SignatureDescription
__init__()Calls init sur cette instance TextFragmentCollection.
add(fragment: TextFragment) → TextFragmentCollectionAppelle 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) → boolAppelle contains(fragment) sur cette instance TextFragmentCollection.
item(index: int) → TextFragmentAppelle item(index) sur cette instance TextFragmentCollection.
get_enumerator()Renvoie l’enumerator.

Voir aussi

 Français