
###################
A3DPDFListBoxCreate
###################

.. c:function:: A3DStatus A3DPDFListBoxCreate(A3DPDFDocument *pDoc, const A3DPDFListBoxData *pListBoxData, A3DPDFListBox **ppListBox)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DPDFListBoxCreate(:c:type:`~A3DPDFDocument`\ \* **pDoc**\ , *const* :c:struct:`~A3DPDFListBoxData`\ \* **pListBoxData**\ , :c:type:`~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
   
   




