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
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Returns the number of options. |
Methods
| Signature | Description |
|---|---|
OptionCollection(optArray: COSArray) | Constructs an option collection from a /Opt COSArray. |
getCount() → int | Returns the number of options. |
size() → int | Returns the number of options (alias for {@link #getCount()}). |
get(index: int) → Option | Returns the option at the given 0-based index. |
iterator() → Iterator<Option> | Returns an iterator over the options. |
hasNext() → boolean | |
next() → Option |