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

This function looks for a layer specified by name.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_layercont_find_layer(
        HIG_VECT_LAYERCONT hLayercont, 
        LPCHAR lpName, 
        HIG_VECT_LAYER* lpLayer
);

Arguments:

Name Type Description
hLayercont HIG_VECT_LAYERCONT Handle to Layer container.
lpName LPCHAR Name of the layer for which to look.
lpLayer HIG_VECT_LAYER* Buffer for the layer being returned.

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