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

The function sets the layer name.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_layer_set_name(
        HIG_VECT_LAYER hLayer, 
        LPCHAR lpName
);

Arguments:

Name Type Description
hLayer HIG_VECT_LAYER Handle to the Layer.
lpName LPCHAR Layer name being set.

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