ImageGear Professional DLL v18.1 for Windows
IG_dspl_channel_visibility_set
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Display Functions > IG_dspl_channel_visibility_set

Glossary Item Box

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 Professional.

Remarks:

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

©2014. Accusoft Corporation. All Rights Reserved.