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_insert
In This Topic
    IG_layer_array_layer_insert
    In This Topic

    This function inserts the layer at the specified index position of the layer array.

    Declaration:

     
    Copy Code
    AT_ERRCOUNT ACCUAPI IG_layer_array_layer_insert(
            HIGLAYERARRAY hLayers,
            AT_INT nIndex,
            HIGLAYER hLayer
    );
    

    Arguments:

    Name Type Description
    hLayers HIGLAYERARRAY Handle to the layer array object.
    nIndex AT_INT Index at which to insert.
    hLayer HIGLAYER Handle to the inserted layer.

    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 at the specified position.