ImageGear for C and C++ on Windows v20.1 - Updated
IG_extra_channel_info_opacity_set
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Extra Channel Info Functions > IG_extra_channel_info_opacity_set

This function sets new opacity for the extra channel.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_extra_channel_info_opacity_set(
        HIGEXTRACHANNELINFO hInfo,
        AT_WORD Opacity
);

Arguments:

Name Type Description
hInfo HIGEXTRACHANNELINFO Extra channel object.
Opacity AT_WORD New opacity value for this extra channel (should be in range 0-100).

Return Value:

Error Count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

This function is applicable to any type of extra channels except IG_EXTRA_CHANNEL_TYPE_Unknown.
Is this page helpful?
Yes No
Thanks for your feedback.