set_component_visible


Description:

public bool set_component_visible (ChannelType component, bool visible)

Sets if the specified image's image component is visible.

This procedure sets if the specified image's image component (i.e. Red, Green, Blue intensity channels in an RGB image) is visible or invisible -- whether or not it can be seen. If the specified component is not valid for the image type, an error is returned.

Parameters:

this

The image.

component

The image component.

visible

Component is visible.

Returns:

TRUE on success.