
###############################
A3DPDFDocumentCreateFromPDFFile
###############################

.. c:function:: A3DStatus A3DPDFDocumentCreateFromPDFFile(const A3DUTF8Char *pcFileName, A3DPDFDocument **ppDoc)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DPDFDocumentCreateFromPDFFile(*const* :c:type:`~A3DUTF8Char`\ \* **pcFileName**\ , :c:type:`~A3DPDFDocument`\ \*\* **ppDoc**\ )
   
   Function to create a document from a PDF file.
   
   This function creates a document from a PDF input file. Starting with HOOPS Publish 6.0 the input PDF can contain several pages. Pages can be added to the document with append functions :c:func:`~A3DPDFDocumentAppendNewPage2`\ or :c:func:`~A3DPDFDocumentAppendPageFromPDFFileAndSuffixFields`\ .
   
   **Parameters**
   
   
      **pcFileName**\ : The input file name.
   
      **ppDoc**\ : The document created.
   
   
   **Returns**
   
   
      A3D_SUCCESS in case of success or an error code
   
   




