pdfGetNumFormFields
Get the number of form fields.
int pdfGetNumFormFields(PDFHandle pdf)
This function returns the number of fields in the form in this PDF
file.
Call pdfGetFormField
to access the words.
C:
PDFFormFieldHandle field;
for (i = 0; i < pdfGetNumFormFields(pdf); ++i) {
field = pdfGetFormField(pdf, i);
...
}