FormFieldCount
Description
Returns the total number of form fields in the selected document. The Index parameter of the various form field functions must be a number from 1 to the value returned by this function.
If a form field is deleted or flattened successfully it will be removed from the document, the total field count will be reduced and the field Index of the subsequent fields will be reduced by 1.
Syntax
Delphi
function TQuickPDF0813.FormFieldCount: Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::FormFieldCount As Long
DLL
int QuickPDFFormFieldCount(int InstanceID)
Return values
| 0 | There are no form fields |
| Non-zero | The number of form fields in the document |