A3DPDFDocumentGetLayerByName

A3DStatus A3DPDFDocumentGetLayerByName(const A3DPDFDocument *pDoc, const A3DUTF8Char *pcName, A3DPDFLayer **ppLayer)
A3DStatus A3DPDFDocumentGetLayerByName(const A3DPDFDocument* pDoc, const A3DUTF8Char* pcName, 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