VintaSoft Twain .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging Namespace / BitmapChannelsFormat Class / BitmapChannelsFormat Constructors / BitmapChannelsFormat Constructor(Boolean,Boolean,ChannelFormat[])
Syntax Exceptions Requirements SeeAlso
In This Topic
    BitmapChannelsFormat Constructor(Boolean,Boolean,ChannelFormat[])
    In This Topic
    Initializes a new instance of the BitmapChannelsFormat class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal pixelDataIsLittleEndian
    A value indicating whether pixel data are stored in little endian order.
    As Boolean, _
    ByVal channelDataIsLittleEndian
    A value indicating whether channel data are stored in little endian order.
    As Boolean, _
    ByVal ParamArray channels
    The color channels.
    () As ChannelFormat _
    )

    Parameters

    pixelDataIsLittleEndian
    A value indicating whether pixel data are stored in little endian order.
    channelDataIsLittleEndian
    A value indicating whether channel data are stored in little endian order.
    channels
    The color channels.
    Exceptions
    ExceptionDescription
    Thrown if pixelDataIsLittleEndian and channelDataIsLittleEndian are both true.
    Thrown if pixelDataIsLittleEndian is true but pixel data is not byte-padded OR channelDataIsLittleEndian is true but channel data is not byte-padded.
    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