SetValueOfWholeChannel

CurvesDiscreteManager.SetValueOfWholeChannel method

Sets the value of whole channel.

public void SetValueOfWholeChannel(int channelIndex, byte[] channelValue)
Parameter Type Description
channelIndex Int32 Index of the channel.
channelValue Byte[] The channel value.

Exceptions

exception condition
PsdImageArgumentException To set Whole Channel value you should use byte array with length = 256

See Also