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

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.