A3DPDFPageFieldListAddItem

A3DStatus A3DPDFPageFieldListAddItem(A3DPDFPage *pPage, const A3DUTF8Char *pcFieldName, const A3DUTF8Char *pcItemValue, const A3DUTF8Char *pcItemExportValue)
A3DStatus A3DPDFPageFieldListAddItem(A3DPDFPage* pPage, const A3DUTF8Char* pcFieldName, const A3DUTF8Char* pcItemValue, const A3DUTF8Char* pcItemExportValue)

Function to add an item to a form field of type list.

Parameters

pPage: The Page object to work with.

pcFieldName: The name of the form field. Only Acroform fields are supported.

pcItemValue: The item string which will be visible to the user in the list field.

pcItemExportValue: The export value for the item. This value acts as a ‘symbolic value’ for the item.

Returns

A3D_SUCCESS in case of success or an error code