
######################
A3DPDFDocumentGetLayer
######################

.. c:function:: A3DStatus A3DPDFDocumentGetLayer(const A3DPDFDocument *pDoc, const A3DInt32 iNumLayer, A3DPDFLayer **ppLayer)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DPDFDocumentGetLayer(*const* :c:type:`~A3DPDFDocument`\ * **pDoc**\ , *const* :c:type:`~A3DInt32` **iNumLayer**\ , :c:type:`~A3DPDFLayer`\ ** **ppLayer**\ )
   
   Get a layer object by its index in the document. 
   
   **Parameters**
   
   
      **pDoc**\ : The document to work with. 
   
      **iNumLayer**\ : The index of the layer. The first index is 0. 
   
      **ppLayer**\ : The Layer object.
   
   
   **Returns**
   
   
      A3D_SUCCESS in case of success or an error code
   
   




