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

This function gets the name of the layer.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_layer_get_name(
        HIG_VECT_LAYER hLayer,
        LPCHAR lpName,
        LONG nSize
);

Arguments:

Name Type Description
hLayer HIG_VECT_LAYER Handle to the Layer.
lpName LPCHAR Buffer for the layer name.
nSize LONG Maximum size of the buffer.

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