OptionCollection

OptionCollection

Overview

OptionCollection is a class in Aspose.Pdf FOSS for Java. Inherits from: Iterable<Option>.

Collection of options for choice fields (ComboBox/ListBox).

Properties

NameTypeAccessDescription
countintReadReturns the number of options.

Methods

SignatureDescription
OptionCollection(optArray: COSArray)Constructs an option collection from a /Opt COSArray.
getCount()intReturns the number of options.
size()intReturns the number of options (alias for {@link #getCount()}).
get(index: int)OptionReturns the option at the given 0-based index.
iterator()Iterator<Option>Returns an iterator over the options.
hasNext()boolean
next()Option

See Also