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

This function obtains the opacity of the image layer.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_image_layer_opacity_get(
        HIGIMAGELAYER hLayer,
        AT_INT* lpnOpacity
);

Arguments:

Name Type Description
hLayer HIGIMAGELAYER Handle to the image layer object.
lpnOpacity 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++.