ImageGear for C and C++ on Windows v19.6 - Updated
IG_vect_ent_set_layer
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Entity Functions > IG_vect_ent_set_layer

The function sets 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_set_layer(
        HIG_VECT_ENTITY hEntity,
        HIG_VECT_LAYER hLayer
);

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