API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Drawing Functions > IG_vect_drwng_create_entity |
The function creates an entity of the specified type and assigns a specified ID to it.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_drwng_create_entity( HIG_VECT_DRWNG hDrwng, enumIGVectEntities nType, LPCHAR lpId, HIG_VECT_ENTITY* lpEntity ); |
Name | Type | Description |
---|---|---|
hDrwng | HIG_VECT_DRWNG | Handle to the Drawing. |
nType | enumIGVectEntities | Type of the entity to be created. |
lpId | LPCHAR | Entity identifier being assigned. |
lpEntity | HIG_VECT_ENTITY* | Buffer for the handle to the newly created entity. |
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
This function does not process image pixels.
None