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

The function returns entity name by its type.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_drwng_get_entityname(
        HIG_VECT_DRWNG hDrwng,
        enumIGVectEntities nType,
        LPCHAR lpName,
        long nSize
);

Arguments:

Name Type Description
hDrwng HIG_VECT_DRWNG Handle to the Drawing.
nType enumIGVectEntities Entity type.
lpName LPCHAR Buffer for the entity name.
nSize long Maximum size of the buffer.

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:

This is convenient for filling list and combo boxes.

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