Class FDFFieldIterator
FDFFieldIterator is an iterator type used to traverse interactive form fields
in a FDF document. A FDFFieldIterator points to FDF.FDFField nodes or to the null
FDFField node.
Implements
Inherited Members
Namespace: pdftron.FDF
Assembly: PDFTronDotNet.dll
Syntax
public class FDFFieldIterator : Iterator<FDFField>, IDisposable
Examples
A sample use case:
for(FDFFieldIterator itr = fdf_doc.getFieldIterator(); itr.hasNext(); itr.next()) {
Field name: itr.current().getName();
Field partial name: itr.current().getPartialName();
}
Methods
Current()
get the current FDFFieldIterator
Declaration
public override FDFField Current()
Returns
| Type | Description |
|---|---|
| FDFField | current |
Overrides
Equals(object)
check if equals to another FDFFieldIterator
Declaration
public bool Equals(object o)
Parameters
| Type | Name | Description |
|---|---|---|
| object | o | another |
Returns
| Type | Description |
|---|---|
| bool | true if equals to another |
Operators
operator ==(FDFFieldIterator, FDFFieldIterator)
check if two FDFFieldIterator are equal
Declaration
public static bool operator ==(FDFFieldIterator l, FDFFieldIterator r)
Parameters
| Type | Name | Description |
|---|---|---|
| FDFFieldIterator | l | a |
| FDFFieldIterator | r | another |
Returns
| Type | Description |
|---|---|
| bool | true, if both are equal. false, otherwise. |
operator !=(FDFFieldIterator, FDFFieldIterator)
check if two FDFFieldIterator are not equal
Declaration
public static bool operator !=(FDFFieldIterator l, FDFFieldIterator r)
Parameters
| Type | Name | Description |
|---|---|---|
| FDFFieldIterator | l | a |
| FDFFieldIterator | r | another |
Returns
| Type | Description |
|---|---|
| bool | false, if both are equal. true, otherwise. |