ImageGear for C and C++ on Windows v19.7 - Updated
IG_vect_layercont_add_layer
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Layer Container Functions > IG_vect_layercont_add_layer

This function adds a layer to the layer container.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_layercont_add_layer(
        HIG_VECT_LAYERCONT hLayercont,
        HIG_VECT_LAYER hLayer
);

Arguments:

Name Type Description
hLayercont HIG_VECT_LAYERCONT Handle to Layer container.
hLayer HIG_VECT_LAYER Handle to the Layer being added.

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