This function sets the new visibility state for the specified channel in the image.
| 
                        Copy Code
                     | |
|---|---|
| 
AT_ERRCOUNT ACCUAPI IG_dspl_channel_visibility_set(
        HIGEAR hIGear,
        DWORD dwGrpID,
        AT_INT nIndex,
        AT_BOOL bVisible
);
 | |
| 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. | 
Returns the number of ImageGear errors that occurred during this function call.
All pixel formats supported by ImageGear for C and C++.
If TRUE, the image channel is visible; if FALSE, the image channel is not visible.