AddFormFieldGroup

Description

Adds a form field group (PDFFormFieldGroup object) in a PDF document.

Applies to

PDFDocument object

Syntax

long AddFormFieldGroup(PDFFormFieldGroup formFieldGroup)

Argument

Description

formFieldGroup

The PDFFormFieldGroup object to add to the document.


Return value

Long. Returns 1 if it succeeds and -1 if an error occurs. For the full list of error codes, see Error Codes.

Usage

Call the function to add a PDFFormFieldGroup object to the current PDF document.

Examples

This example add a PDFFormFieldGroup lpdf_group to the lpdf_doc.

Long ll_return
ll_return = lpdf_doc.addformfieldgroup(lpdf_group)

See also

GetFormFieldGroup

GetFormFieldGroupCount

RemoveAllFormFieldGroup

RemoveFormFieldGroup