FormFieldCollection
Overview
FormFieldCollection is a class in Aspose.Words FOSS for Java.
Inherits from: Iterable<FormField>.
A collection of FormField objects that represent all the form fields in a range.
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 7 methods for FormFieldCollection objects in Java programs.
Available methods include: clear, 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
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Returns the number of form fields in the collection. |
Methods
| Signature | Description |
|---|---|
getCount() → int | Returns the number of form fields in the collection. |
get(index: int) → FormField | Returns a form field at the specified index. |
get(bookmarkName: String) → FormField | Returns a form field by bookmark name. |
remove(formField: String) | Removes a form field with the specified name. |
removeAt(index: int) | Removes a form field at the specified index. |
clear() | Removes all form fields from this collection and from the document. |
iterator() → Iterator<FormField> | Returns an enumerator object. |