CurvesDiscreteManagerSetValueOfWholeChannel Method
Sets the value of whole channel.

Namespace: Aspose.PSD.FileFormats.Psd.Layers.LayerResources
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 21.10
Syntax
public void SetValueOfWholeChannel(
	int channelIndex,
	byte[] channelValue
)

Parameters

channelIndex
Type: SystemInt32
Index of the channel.
channelValue
Type: SystemByte
The channel value.
Exceptions
ExceptionCondition
PsdImageArgumentExceptionTo set Whole Channel value you should use byte array with length = 256
See Also