ImageGear for C and C++ on Windows v19.6 - Updated
IG_PDF_doc_get_layer
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_DOC > IG_PDF_doc_get_layer

Gets the layer with a specified index.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_doc_get_layer(
        HIG_PDF_DOC hDoc,
        UINT nIndex,
        LPHIG_PDF_LAYER lphLayer
);

Arguments:

Name Type Description
hDoc HIG_PDF_DOC Document whose layer is obtained.
nIndex UINT Index of the layer to obtain.
lphLayer LPHIG_PDF_LAYER The obtained layer.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.