
############################
A3DPDF3DStreamCreateFromFile
############################

.. c:function:: A3DStatus A3DPDF3DStreamCreateFromFile(A3DPDFDocument *pDoc, const A3DUTF8Char *pcFileName, const A3DBool bIsPRC, A3DPDF3DStream **pp3DStream)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DPDF3DStreamCreateFromFile(:c:type:`~A3DPDFDocument`\ \* **pDoc**\ , *const* :c:type:`~A3DUTF8Char`\ \* **pcFileName**\ , *const* :c:type:`~A3DBool` **bIsPRC**\ , :c:type:`~A3DPDF3DStream`\ \*\* **pp3DStream**\ )
   
   Function to create a Stream from a file.
   
   **Parameters**
   
   
      **pDoc**\ : The Document object to work with.
   
      **pcFileName**\ : The full file path of a PRC or U3D file.
   
      **bIsPRC**\ : Specifies the format of the data (true is for PRC, false if for U3D).
   
      **pp3DStream**\ : The 3DStream object created.
   
   
   **Returns**
   
   
      A3D_SUCCESS in case of success or an error code
   
   




