A3DPDFDocumentGetNumberLayers

A3DStatus A3DPDFDocumentGetNumberLayers(const A3DPDFDocument *pDoc, A3DInt32 *piNbLayers)
A3DStatus A3DPDFDocumentGetNumberLayers(const A3DPDFDocument* pDoc, 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