IParagraphCollection

IParagraphCollection — Aspose.Slides FOSS Java API Reference

IParagraphCollection — Represents a collection of paragraphs.

Package: org.aspose.slides.foss


Properties

PropertyTypeAccessDescription
readOnlybooleanRead/Write

Methods

MethodReturnsDescription
get(int index)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 ISlideComponent interface.
asIEnumerable()Iterable<IParagraph>Returns this collection as an iterable.
add(IParagraph value)voidAdds a paragraph to the end of the collection.
insert(int index, IParagraph value)voidInserts a paragraph at the specified index.
clear()voidRemoves all paragraphs from the collection.
removeAt(int index)voidRemoves the paragraph at the specified index.
remove(IParagraph item)booleanRemoves the first occurrence of the specified paragraph.
isReadOnly()booleanGets a value indicating whether the collection is read-only.
contains(IParagraph item)booleanDetermines whether the collection contains the specified paragraph.
indexOf(IParagraph item)intReturns the zero-based index of the first occurrence of the specified paragraph.
asIPresentationComponent()IPresentationComponentReturns this instance as IPresentationComponent.

See Also