ImageGear for C and C++ on Windows v19.9 - Updated
IG_vect_entcont_get_index
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Entity Container Functions > IG_vect_entcont_get_index

The function looks for the index by the entity handle.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_entcont_get_index(
        HIG_VECT_ENTITYCONT hEntitycont,
        HIG_VECT_ENTITY hEntity,
        long* lpIndex
);

Arguments:

Name Type Description
hEntitycont HIG_VECT_ENTITYCONT Handle to the Entity Container.
hEntity HIG_VECT_ENTITY Handle to the entity being found in the container.
lpIndex long* Buffer for the entity index.

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