Click or drag to resize

PDFDocGetField Method

field_name - a string representing the fully qualified name of the field (e.g. "employee.name.first").
Gets the field.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public Field GetField(
	string field_name
)

Parameters

field_name
Type: SystemString
the field_name the field_name

Return Value

Type: Field
a FieldIterator referring to an interactive Field or to invalid field if the field name was not found. If a given field name was not found itr.HasNext() will return false. For example:

Return Value

Type: Field
the field
Examples
FieldIterator itr = pdfdoc.fieldFind("name");
if (itr.hasNext()) {
string name = itr.current().getName());
}
else { ...field was not found... }
See Also