IParagraphCollection

Vue de l’ensemble

‘IParagraphCollection’ est une interface dans Aspose.Slides FOSS pour Java.Décédent de: Iterable<IParacte>.

Il représente une collection de paragraphes.

Cette interface fournit 14 méthodes pour travailler avec les objets de collection IParagraph dans les programmes Java. Les méthodologies disponibles comprennent: add, asIEnumerable , assIPresentationComponent ; aISlideComposent‘ ; 'clear; contains : conto et get . , ‘indexOf. , insert., isReadOnly,, ‘remove` ainsi que 2 méthode supplémentaires. Tous les membres publics sont accessibles à toute application Java après l’installation du package Java Aspose.Slides FOSS. Propriétés : ‘readOnely’.

Propriétés

NameTypeAccessDescription
readOnlybooleanReadGets a value indicating whether the collection is read-only.

méthodes

SignatureDescription
get(index: int)IParagraphGets the paragraph at the specified index.
size()intReturns the number of paragraphs in the collection.
count()intGets the number of elements actually contained in the collection.
asISlideComponent()ISlideComponentReturns the base {@link ISlideComponent} interface.
asIEnumerable()Iterable<IParagraph>Returns this collection as an iterable.
add(value: IParagraph)Adds a paragraph to the end of the collection.
insert(index: int, value: IParagraph)Inserts a paragraph at the specified index.
clear()Removes all paragraphs from the collection.
removeAt(index: int)Removes the paragraph at the specified index.
remove(item: IParagraph)booleanRemoves the first occurrence of the specified paragraph.
isReadOnly()booleanGets a value indicating whether the collection is read-only.
contains(item: IParagraph)booleanDetermines whether the collection contains the specified paragraph.
indexOf(item: IParagraph)intReturns the zero-based index of the first occurrence of the specified paragraph.
asIPresentationComponent()IPresentationComponentReturns this instance as {@link IPresentationComponent}.

Voir aussi

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