RemoveAllFormFieldGroup

Description

Removes all the form field groups (PDFFormFieldGroup object) in a PDF document.

Applies to

PDFDocument object

Syntax

long RemoveAllFormFieldGroup()

Return value

Long. Returns 1 if it succeeds and -1 if the function fails. For more errors, see the Error Codes.

Usage

Call the function to remove all the PDFFormFieldGroup objects that are included in the current PDF document.

Examples

This example removes all the PDFFormFieldGroup objects in the document lpdf_doc.

Long ll_return
//Remove all groups
ll_return = lpdf_doc.removeallformfieldgroup()

See also

AddFormFieldGroup

GetFormFieldGroup

GetFormFieldGroupCount

RemoveFormFieldGroup