ImageGear for C and C++ on Windows v20.0 - Updated
IG_dspl_channel_visibility_set
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Display Functions > IG_dspl_channel_visibility_set

This function sets the new visibility state for the specified channel in the image.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_dspl_channel_visibility_set(
        HIGEAR hIGear,
        DWORD dwGrpID,
        AT_INT nIndex,
        AT_BOOL bVisible
);

Arguments:

Name Type Description
hIGear HIGEAR Image handle.
dwGrpID DWORD Display group ID.
nIndex AT_INT Index of the channel to set new visibility state (up to 64).
bVisible AT_BOOL New visibility state.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

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

Remarks:

If TRUE, the image channel is visible; if FALSE, the image channel is not visible.

Is this page helpful?
Yes No
Thanks for your feedback.