ImageGear for C and C++ on Windows v19.6 - Updated
IG_image_layer_opacity_set
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Image Layer Functions > IG_image_layer_opacity_set

This function sets the opacity of the image layer.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_image_layer_opacity_set(
        HIGIMAGELAYER hLayer,
        AT_INT nOpacity
);

Arguments:

Name Type Description
hLayer HIGIMAGELAYER Handle to the image layer object.
nOpacity AT_INT Opacity of the image layer.

Return Value:

Error count.

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.