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.
function TDebenuPDFLibrary1511.FormFieldCount: Integer;
Function DebenuPDFLibrary1511.PDFLibrary::FormFieldCount As Long
int DPLFormFieldCount(int InstanceID)
|0||There are no form fields|
|Non-zero||The number of form fields in the document|