VintaSoft Twain .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging Namespace / ColorSpaceFormat Class / ColorSpaceFormat Constructors / ColorSpaceFormat Constructor(ColorSpaceType,ColorChannelsOrder)
Syntax Remarks Requirements SeeAlso
In This Topic
    ColorSpaceFormat Constructor(ColorSpaceType,ColorChannelsOrder)
    In This Topic
    Initializes a new instance of the ColorSpaceFormat class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal colorSpace
    Color space.
    As ColorSpaceType, _
    ByVal channelsOrder
    A color channels order.
    As ColorChannelsOrder _
    )

    Parameters

    colorSpace
    Color space.
    channelsOrder
    A color channels order.
    Remarks

    The channelsOrder defines a remapping of default channels sequence.
    For example, if color space is RGB and channels order is [2,0,1] then defined color format is BRG.

    Values of the channelsOrder can contain undefined channels.
    For example, BGRA color format can be specified using RGB color space and [2,1,0,3] values of channels order.

    Requirements

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

    See Also