A3DPDFListBoxCreate

A3DStatus A3DPDFListBoxCreate(A3DPDFDocument *pDoc, const A3DPDFListBoxData *pListBoxData, A3DPDFListBox **ppListBox)
A3DStatus A3DPDFListBoxCreate(A3DPDFDocument* pDoc, const A3DPDFListBoxData* pListBoxData, A3DPDFListBox** ppListBox)

Function to create a ListBox.

The ListBox is primarily created with this function, and it should be positioned on the page with the function:c:func:~A3DPDFPageInsertListBox. List items can be added using the function:c:func:~A3DPDFPageFieldListAddItem, after the call to:c:func:~A3DPDFPageInsertListBox.

Parameters

pDoc: The Document object to work with.

pListBoxData: The ListBox parameters. The name is mandatory.

ppListBox: The ListBox created.

Returns

A3D_SUCCESS in case of success or an error code