ImageGear for C and C++ on Linux - Updated
IG_PDF_dictionary_get_layer_count
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_DICTIONARY > IG_PDF_dictionary_get_layer_count

Gets the number of layers listed in a membership dictionary.

Declaration:

 
Copy Code
IG_PDF_dictionary_get_layer_count(
        HIG_PDF_DICTIONARY hDictionary, 
        LPUINT lpnCount
);

Arguments:

Name Type Description
hDictionary HIG_PDF_DICTIONARY The membership dictionary whose layers count is obtained.
lpnCount LPUINT The count of the document's layers.

Return Value:

The count of the document's layers.

Supported Raster Image Formats:

This function does not process image pixels.