
##################
A3DPDFButtonCreate
##################

.. c:function:: A3DStatus A3DPDFButtonCreate(A3DPDFDocument *pDoc, const A3DPDFButtonData *pButtonData, A3DPDFButton **ppButton)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DPDFButtonCreate(:c:type:`~A3DPDFDocument`\ \* **pDoc**\ , *const* :c:struct:`~A3DPDFButtonData`\ \* **pButtonData**\ , :c:type:`~A3DPDFButton`\ \*\* **ppButton**\ )
   
   Function to create a button.
   
   The button is primarily created with this function, and it should be positioned on the page with the function :c:func:`~A3DPDFPageInsertButton`\ .
   
   **Parameters**
   
   
      **pDoc**\ : The Document object to work with.
   
      **pButtonData**\ : The button parameters. The name is mandatory.
   
      **ppButton**\ : The button created.
   
   
   **Returns**
   
   
      A3D_SUCCESS in case of success or an error code
   
   




