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

    This function removes the specified layer from the container.

    Declaration:

     
    Copy Code
    AT_ERRCOUNT ACCUAPI IG_vect_layercont_remove_layer(
            HIG_VECT_LAYERCONT hLayercont, 
            long nIndex
    );
    

    Arguments:

    Name Type Description
    hLayercont HIG_VECT_LAYERCONT Handle to Layer container.
    nIndex long Index of the layer to be removed.

    Return Value:

    Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

    Supported Raster Image Formats:

    This function does not process image pixels.

    Sample:

    None