ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / Core Component API Reference / Core Component Functions Reference / Image Layer Functions / IG_image_layers_set
In This Topic
    IG_image_layers_set
    In This Topic

    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++.