ImageGear for C and C++ on Windows v20.1 - Updated
IG_vect_drwng_find_entityindex
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Drawing Functions > IG_vect_drwng_find_entityindex

The function looks for an entity with the specified ID.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_drwng_find_entityindex(
        HIG_VECT_DRWNG hDrwng,
        LPCHAR lpId,
        long nStartindex,
        long* lpIndex
);

Arguments:

Name Type Description
hDrwng HIG_VECT_DRWNG Handle to the Drawing.
lpId LPCHAR ID of the entity.
nStartindex long Start index in the internal container. This can be a value returned by previous call to IG_vect_drwng_find_entityindex().
LpIndex long* Buffer for the entity position.

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

Is this page helpful?
Yes No
Thanks for your feedback.