ParagraphCollection

ParagraphCollection

Vue de l’ensemble

‘ParagraphCollection’ est une classe dans Aspose.Slides FOSS pour Python.Déduit de: ‘BaseColection’, ‘IParagrafCollection’, `ISlideComponent’.

Il représente une collection de paragraphes.

Cette classe fournit 7 méthodes pour travailler avec les objets de Collections paragraph dans les programmes Python. Les méthodologies disponibles comprennent: add, clear , contains ‘index_of’, insert et remove. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation d’Aspose.Slides FOSS pour le package Pyathon. Propriétés : as_i_enumerable ; a_is_presentation_component; ass_ i_slide_conponents : compte` .

Propriétés

NameTypeAccessDescription
countintReadGets the number of elements actually contained in the collection.
is_read_onlyboolReadGets a value indicating whether the is read-only.
as_i_slide_componentISlideComponentReadGets the as i slide component.
as_i_enumerableAnyReadGets the as i enumerable.
slideIBaseSlideReadGets the slide.
as_i_presentation_componentIPresentationComponentReadGets the as i presentation component.
presentationIPresentationReadGets the presentation.
lengthintReadReturns the number of elements.

méthodes

SignatureDescription
add()Appends a new paragraph to the collection
insert()Inserts a paragraph at a specified index
index_of(item)intReturns the zero‑based index of the given paragraph, or -1 if not found
clear()
contains(item)boolChecks whether the specified paragraph exists in the collection
remove_at(index)
remove(item)bool

Voir aussi

  • Aspose.Slides - référence API d’entreprise
 Français