getNumFormFields

Get the number of form fields.
getNumFormFields([out, retval] int *n)
This function returns the number of fields in the form in this PDF file.

Call getFormField to access the words.

VB6:
Dim field As Long For i = 0 To pdf.getNumFormFields - 1 field = pdf.getFormField(i) ... Next i
getFormType
getFormField