
############################
A3DPDFDocumentGetLayerByName
############################

.. c:function:: A3DStatus A3DPDFDocumentGetLayerByName(const A3DPDFDocument *pDoc, const A3DUTF8Char *pcName, A3DPDFLayer **ppLayer)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DPDFDocumentGetLayerByName(*const* :c:type:`~A3DPDFDocument`\ * **pDoc**\ , *const* :c:type:`~A3DUTF8Char`\ * **pcName**\ , :c:type:`~A3DPDFLayer`\ ** **ppLayer**\ )
   
   Get a layer object by its name in the document. 
   
   **Parameters**
   
   
      **pDoc**\ : The document to work with. 
   
      **pcName**\ : The name of the layer to look for. 
   
      **ppLayer**\ : The Layer object.
   
   
   **Returns**
   
   
      A3D_SUCCESS in case of success or an error code
   
   




