ImageGear for C and C++ on Windows v19.1 - Updated
IG_vect_layer_remove_attrib
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Layer Functions > IG_vect_layer_remove_attrib

The function removes and destroys an attribute.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_layer_remove_attrib(
        HIG_VECT_LAYER hLayer, 
        enumIGVectAttrib nAttrib
);

Arguments:

Name Type Description
hLayer HIG_VECT_LAYER Handle to the Layer.
nAttrib enumIGVectAttrib Attribute being removed. See IG_vect_layer_get_attrib() for a description.

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