Click or drag to resize

PDFDocGetFieldIterator Method

An interactive form (sometimes referred to as an AcroForm) is a collection of fields for gathering information interactively from the user. A PDF document may contain any number of fields appearing on any combination of pages, all of which make up a single, global interactive form spanning the entire document. The following methods are used to access and manipulate Interactive form fields (sometimes referred to as AcroForms).

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public FieldIterator GetFieldIterator()

Return Value

Type: FieldIterator
an iterator to the first Field in the document. The list of all Fields present in the document can be traversed as follows:
Examples
For a full sample, please refer to 'InteractiveForms' sample project.
FieldIterator itr = pdfdoc.getFieldIterator();
for(; itr.hasNext(); itr.next()) {
Field field = itr.current();
string s = field.getName();
}
See Also