IPortionCollection

IPortionCollection — Aspose.Slides FOSS Java API Reference

IPortionCollection — Represents a collection of text portions.

Package: org.aspose.slides.foss


Properties

PropertyTypeAccessDescription
readOnlybooleanRead/Write

Methods

MethodReturnsDescription
get(int index)IPortionGets the portion at the specified index.
size()intReturns the number of portions in the collection.
count()intGets the number of elements actually contained in the collection.
asIEnumerable()Iterable<IPortion>Returns this collection as an iterable.
add(IPortion value)voidAdds a portion to the end of the collection.
indexOf(IPortion item)intReturns the index of the specified portion.
insert(int index, IPortion value)voidInserts a portion at the specified index.
clear()voidRemoves all portions from the collection.
contains(IPortion item)booleanDetermines whether the collection contains the specified portion.
remove(IPortion item)booleanRemoves the first occurrence of the specified portion.
removeAt(int index)voidRemoves the portion at the specified index.
isReadOnly()booleanGets a value indicating whether the collection is read-only.

See Also