
############################
A3DPDFDocumentAppendNewPage2
############################

.. c:function:: A3DStatus A3DPDFDocumentAppendNewPage2(A3DPDFDocument *pDoc, const A3DPDFPageData2 *pPageData, A3DPDFPage **ppPage)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DPDFDocumentAppendNewPage2(:c:type:`~A3DPDFDocument`\ \* **pDoc**\ , *const* :c:struct:`~A3DPDFPageData2`\ \* **pPageData**\ , :c:type:`~A3DPDFPage`\ \*\* **ppPage**\ )
   
   Appends a new empty page to a document.
   
   The page is added at the end of the document. It is a new page created with the options set in the pPageData argument.
   
   **Return Values**
   
   
      **A3D_SUCCESS**\ :
   
      **A3D_INVALID_ENTITY_NULL**\ : if ``pDoc`` or ``ppPage`` are null.
   
      **A3D_INVALID_DATA_STRUCT_NULL**\ : if ``pPageData`` is null.
   
   
   
      7.2
   
   
   **Parameters**
   
   
      **pDoc**\ : The Document object to work with.
   
      **pPageData**\ : The page parameters.
   
      **ppPage**\ : The Page object for the new page.
   
   
   **Returns**
   
   
      A3D_SUCCESS in case of success or an error code
   
   




