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

    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.