VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing Namespace / SetColorChannelCommand Class / ChannelIndex Property
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
ChannelIndex Property (SetColorChannelCommand)
In This Topic
Gets or sets the index of the channel if single channel image is specified.
Syntax
'Declaration

<DefaultValueAttribute(0)>
<DescriptionAttribute("The index of the channel if single channel image is specified.")>
Public Property ChannelIndex As System.Int32

[DefaultValue(0)]
[Description("The index of the channel if single channel image is specified.")]
public System.Int32 ChannelIndex { get; set; }

Property Value

Valid values are all non negative integers.
Exceptions
ExceptionDescription
Thrown if new channel index is negative.
Thrown if Channels has length greater than 1.
Remarks

In order to set all significant channels, use Channels.

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also