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

This function sets the new layers to the specified HIGEAR, thereby destroying any existing layers.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_image_layers_set(
        HIGEAR hIGear,
        HIGLAYERARRAY hLayers
);

Arguments:

Name Type Description
hIGear HIGEAR Handle to the image whose layers are set.
hLayers HIGLAYERARRAY Layer array to set.

Return Value:

Error count.

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.