GeneralFormatCollection

GeneralFormatCollection

Overview

GeneralFormatCollection is a class in Aspose.Words FOSS for Java. Inherits from: Iterable<Integer>.

Represents a typed collection of general formats.

Edition status of its 7 listed members (a property and its accessor methods are listed separately, overloads once): 7 not yet exercised by a verified example.

This class declares 6 methods for GeneralFormatCollection objects in Java programs. Available methods include: add, get, getCount, iterator, remove, removeAt. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: count.

Properties

NameTypeAccessDescription
countintReadGets the total number of the items in the collection.

Methods

SignatureDescription
add(item: int)Adds a general format to the collection.
remove(item: int)Removes all occurrences of the specified general format from the collection.
removeAt(index: int)Removes a general format occurrence at the specified index.
getCount() → intGets the total number of the items in the collection.
get(index: int) → intGets a general format at the specified index.
iterator() → Iterator<Integer>Returns an enumerator object.

See Also