IPortionCollection

IPortionCollection

Overview

IPortionCollection is a interface in Aspose.Slides FOSS for Java. Inherits from: Iterable<IPortion>.

Represents a collection of text portions.

Properties

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

Methods

SignatureDescription
get(index: int)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(value: IPortion)Adds a portion to the end of the collection.
indexOf(item: IPortion)intReturns the index of the specified portion.
insert(index: int, value: IPortion)Inserts a portion at the specified index.
clear()Removes all portions from the collection.
contains(item: IPortion)booleanDetermines whether the collection contains the specified portion.
remove(item: IPortion)booleanRemoves the first occurrence of the specified portion.
removeAt(index: int)Removes the portion at the specified index.
isReadOnly()booleanGets a value indicating whether the collection is read-only.

See Also