The function creates an entity of the specified type and assigns a specified ID to it.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_drwng_create_entity( HIG_VECT_DRWNG hDrwng, enumIGVectEntities nType, LPCHAR lpId, HIG_VECT_ENTITY* lpEntity ); |
Arguments:
hDrwng | Handle to the Drawing. |
nType | Type of the entity to be created. |
lpId | Entity identifier being assigned. |
lpEntity | Buffer for the handle to the newly created entity. |
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