EnumFormFields

Form fields

Description

Enumerates AcroForm field identity, type, page, flags, values and Choice state in one traversal

Returns the total field count so callers can use an empty count pass followed by one fill pass when the destination array must be allocated dynamically

Syntax

Delphi

Function EnumFormFields(Var Fields: Array Of TPDFlibFormFieldInfo): Integer;

Parameters

Fields receives up to the number of records available in the caller-supplied array

Return value

The total number of fields in the selected document, including records that do not fit in the supplied array