ImageGear for C and C++ on Windows v19.1 - Updated
IG_layer_array_count_get
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Layer Functions > IG_layer_array_count_get

This function obtains the number of layers in the layer array.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_layer_array_count_get(
        HIGLAYERARRAY hLayers,
        AT_INT* lpnCount
);

Arguments:

Name Type Description
hLayers HIGLAYERARRAY Handle to the layer array object.
lpnCount AT_INT* The number of layers in the layer array.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.