ImageGear for C and C++ on Windows v20.5 - Updated
IG_vect_ent_get_layer
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).

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_ent_get_layer(
        HIG_VECT_ENTITY hEntity,
        HIG_VECT_LAYER* lpLayer
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Handle to the Entity.
lpLayer HIG_VECT_LAYER* Buffer for the layer handle.

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:

If there is not a layer associated with the entity, lpLayer is set to NULL.

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