IParagraphCollection — Aspose.Slides FOSS Java API Reference
IParagraphCollection — Represents a collection of paragraphs.
Package: org.aspose.slides.foss
Properties
| Property | Type | Access | Description |
|---|---|---|---|
readOnly | boolean | Read/Write |
Methods
| Method | Returns | Description |
|---|---|---|
get(int index) | IParagraph | Gets the paragraph at the specified index. |
size() | int | Returns the number of paragraphs in the collection. |
count() | int | Gets the number of elements actually contained in the collection. |
asISlideComponent() | ISlideComponent | Returns the base ISlideComponent interface. |
asIEnumerable() | Iterable<IParagraph> | Returns this collection as an iterable. |
add(IParagraph value) | void | Adds a paragraph to the end of the collection. |
insert(int index, IParagraph value) | void | Inserts a paragraph at the specified index. |
clear() | void | Removes all paragraphs from the collection. |
removeAt(int index) | void | Removes the paragraph at the specified index. |
remove(IParagraph item) | boolean | Removes the first occurrence of the specified paragraph. |
isReadOnly() | boolean | Gets a value indicating whether the collection is read-only. |
contains(IParagraph item) | boolean | Determines whether the collection contains the specified paragraph. |
indexOf(IParagraph item) | int | Returns the zero-based index of the first occurrence of the specified paragraph. |
asIPresentationComponent() | IPresentationComponent | Returns this instance as IPresentationComponent. |