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

    This function duplicates the layer object.

    Declaration:

     
    Copy Code
    AT_ERRCOUNT ACCUAPI IG_layer_duplicate(
            HIGLAYER hLayer,
            LPHIGLAYER lphDuplicatedLayer
    );
    

    Arguments:

    Name Type Description
    hLayer HIGLAYER Handle to the layer object to duplicate.
    lphDuplicatedLayer LPHIGLAYER Handle to the duplicated layer.

    Return Value:

    Error count.

    Supported Raster Image Formats:

    This function does not process image pixels.