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