A3DPDFPageGetFields

A3DStatus A3DPDFPageGetFields(A3DPDFPage *pPage, A3DInt32 *piNbFields, A3DPDFField ***pppFields)
A3DStatus A3DPDFPageGetFields(A3DPDFPage* pPage, A3DInt32* piNbFields, A3DPDFField* **pppFields)

Function to retrieve the fields of a PDF page.

The fields supported are only form fields created with Acrobat. LiveCycle Designer fields (XFA) are not supported.

Memory Management

In case of success, pppFields contains heap allocated memory you are responsible for. To free the memory on pppFields, call A3DPDFPageGetFields with pPage set to 0.

Parameters

pPage: The Page object to work with.

piNbFields: The number of fields.

pppFields: The array of pointer on fields objects.

Returns

A3D_SUCCESS in case of success or an error code