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

Glossary Item Box

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.

©2014. Accusoft Corporation. All Rights Reserved.