ImageGear Professional v18.2 > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Entity Functions > IG_vect_ent_get_layer |
The function returns a handle to the layer attached to the entity (that is, the layer to which the entity belongs).
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_ent_get_layer( HIG_VECT_ENTITY hEntity, HIG_VECT_LAYER* lpLayer ); |
Name | Type | Description |
hEntity | HIG_VECT_ENTITY | Handle to the Entity. |
lpLayer | HIG_VECT_LAYER* | Buffer for the layer handle. |
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
If there is not a layer associated with the entity, lpLayer is set to NULL.