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

Gets the layer count for the document.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_doc_get_layer_count(
        HIG_PDF_DOC hDoc,
        LPUINT lpnCount
);

Arguments:

Name Type Description
hDoc HIG_PDF_DOC Document whose layer count is obtained.
lpnCount LPUINT Layer count.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.