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

This function adds the layer to the layer array.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_layer_array_layer_add(
        HIGLAYERARRAY hLayers,
        HIGLAYER hLayers
);

Arguments:

Name Type Description
hLayers HIGLAYERARRAY Handle to the layer array object.
hLayer HIGLAYER Handle to the layer to add. The layer is added to the end of the array.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

The layer object is not copied. Instead, a reference is inserted to the end of the list.