ImageGear for C and C++ on Windows v19.7 - Updated
IG_dspl_channel_visibility_get
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Display Functions > IG_dspl_channel_visibility_get

This function gets the visibility state of the specified channel in the image.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_dspl_channel_visibility_get(
        HIGEAR hIGear,
        DWORD dwGrpID,
        AT_INT nIndex,
        LPAT_BOOL lpbVisible
);

Arguments:

Name Type Description
hIGear HIGEAR Image handle.
dwGrpID DWORD Display group ID.
nIndex AT_INT Index of the requested channel (up to 64).
lpbVisible LPAT_BOOL 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.