ImageGear for C and C++ on Windows v19.10 - Updated
IG_vect_ent_get_deleted
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Entity Functions > IG_vect_ent_get_deleted

The function returns a flag specifying whether or not an entity is marked as deleted.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_ent_get_deleted(
        HIG_VECT_ENTITY hEntity,
        VECT_BOOL* lpDeleted
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Handle to the Entity.
lpDeleted VECT_BOOL* Buffer that receives deleted flag.

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

Remarks:

When an entity is marked as deleted, it is not actually removed, but becomes invisible. The user can query all entities and undo delete operations. Deleted entities are not saved in the files.