ImageGear Professional DLL v18.1 for Windows
IG_vect_drwng_create_entity
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Drawing Functions > IG_vect_drwng_create_entity

Glossary Item Box

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:

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.

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

©2014. Accusoft Corporation. All Rights Reserved.