ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / Vector Component API Reference / Vector Component Functions Reference / Layer Functions / IG_vect_layer_set_name
In This Topic
    IG_vect_layer_set_name
    In This Topic

    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