
#############################
A3DPDFDocumentGetNumberLayers
#############################

.. c:function:: A3DStatus A3DPDFDocumentGetNumberLayers(const A3DPDFDocument *pDoc, A3DInt32 *piNbLayers)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DPDFDocumentGetNumberLayers(*const* :c:type:`~A3DPDFDocument`\ \* **pDoc**\ , :c:type:`~A3DInt32`\ \* **piNbLayers**\ )
   
   Function to get the number of layers in the document.
   
   **Parameters**
   
   
      **pDoc**\ : The document to work with.
   
      **piNbLayers**\ : The number of layers in the document.
   
   
   **Returns**
   
   
      A3D_SUCCESS in case of success or an error code
   
   




