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

The function removes an entity specified by nIndex from the container.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_entcont_remove_entity(
        HIG_VECT_ENTITYCONT hEntitycont, 
        long nIndex
);

Arguments:

Name Type Description
hEntitycont HIG_VECT_ENTITYCONT Handle to the Entity Container.
nIndex long Index of the entity being 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