ImageGear for C and C++ on Windows v19.10 - Updated
IG_layer_name_set
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Layer Functions > IG_layer_name_set

This function sets new name for the layer.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_layer_name_set(
        HIGLAYER hLayer,
        LPSTR lpBuffer
);

Arguments:

Name Type Description
hLayer HIGLAYER Handle to the layer object.
lpBuffer LPSTR Pointer to the character buffer specifying the name.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.