VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing Namespace / ExtractColorChannelCommand Class / ChannelIndex Property
Syntax Exceptions Requirements SeeAlso
In This Topic
    ChannelIndex Property (ExtractColorChannelCommand)
    In This Topic
    Gets or sets the index of the channel.
    Syntax
    'Declaration
    
    <DescriptionAttribute("The index of the channel.")>
    <DefaultValueAttribute(-1)>
    Public Property ChannelIndex As System.Int32
    
    
    [Description("The index of the channel.")]
    [DefaultValue(-1)]
    public System.Int32 ChannelIndex { get; set; }
    
    
    [Description("The index of the channel.")]
    [DefaultValue(-1)]
    public: __property System.Int32 get_ChannelIndex();
    public: __property void set_ChannelIndex(
    System.Int32 value
    );
    [Description("The index of the channel.")]
    [DefaultValue(-1)]
    public:
    property System.Int32 ChannelIndex { System.Int32 get(); void set(System.Int32 value); }

    Property Value

    0 or positive - the zero-based index of channel to extract; -1 - all significant channels will be extracted. Default value is -1.
    Exceptions
    ExceptionDescription
    Thrown if new value is less than -1.
    Requirements

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

    See Also