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

This function obtains a handle to the layer at the specified index from the layer array.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_layer_array_layer_get(
        HIGLAYERARRAY hLayers,
        AT_INT nIndex,
        LPHIGLAYER lphLayer
);

Arguments:

Name Type Description
hLayers HIGLAYERARRAY Handle to the layer array object.
nIndex AT_INT Index of the layer to obtain.
lphLayer LPHIGLAYER Handle to the obtained layer.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

This function doesn't copy the layer; it just returns a reference to it.

Is this page helpful?
Yes No
Thanks for your feedback.