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

The function returns an entity specified by nIndex.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_entcont_get_entity(
        HIG_VECT_ENTITYCONT hEntitycont,
        long nIndex,
        HIG_VECT_ENTITY* lpEntity
);

Arguments:

Name Type Description
hEntitycont HIG_VECT_ENTITYCONT Handle to the Entity Container.
nIndex long Index of the entity being returned.
lpEntity HIG_VECT_ENTITY* Buffer for the handle to the entity.

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