TextFragmentCollection
TextFragmentCollection
Visão geral
TextFragmentCollection é uma classe em Aspose.PDF FOSS para Python.
Coleção de objetos TextFragment.
Esta classe fornece 7 métodos para trabalhar com objetos TextFragmentCollection em programas Python. Os métodos disponíveis incluem: __init__, add, clear, contains, get_enumerator, item, remove. Todos os membros públicos estão acessíveis a qualquer aplicação Python após a instalação do pacote Aspose.PDF FOSS para Python.
Métodos
| Assinatura | Descrição |
|---|---|
__init__() | Calls init nesta instância de TextFragmentCollection. |
add(fragment: TextFragment) → TextFragmentCollection | Chama add(fragment) nesta instância de TextFragmentCollection. |
remove(fragment: TextFragment) | Chama remove(fragment) nesta instância de TextFragmentCollection. |
clear() | Chama clear nesta instância de TextFragmentCollection. |
contains(fragment: TextFragment) → bool | Chama contains(fragment) nesta instância de TextFragmentCollection. |
item(index: int) → TextFragment | Chama item(index) nesta instância de TextFragmentCollection. |
get_enumerator() | Retorna o enumerador. |