GetFormFieldGroupCount

Description

Returns the count of the form field groups (PDFFormFieldGroup object) in a PDF document.

Applies to

PDFDocument object

Syntax

long GetFormFieldGroupCount()

Return value

Long. Returns the count of PDFFormFieldGroup objects if it succeeds and null if an error occurs.

Usage

Call the function to return the number of PDFFormFieldGroup objects that are included in the current PDF document.

Examples

This example returns the count of all the PDFFormFieldGroup objects in the document lpdf_doc.

Long ll_count
//Get the count
ll_count = lpdf_doc.getformfieldgroupcount()

See also

AddFormFieldGroup

GetFormFieldGroup

RemoveAllFormFieldGroup

RemoveFormFieldGroup