VintaSoft Twain .NET SDK 15.3: Руководство для .NET разработчика
Vintasoft.Imaging Namespace / BitmapChannelsFormat Class / BitmapChannelsFormat Constructors / BitmapChannelsFormat Constructor(Int32,Int32,Boolean,Boolean)
Синтаксис Exceptions Требования Смотрите также
В этом разделе
    BitmapChannelsFormat Constructor(Int32,Int32,Boolean,Boolean)
    В этом разделе
    Initializes a new instance of the BitmapChannelsFormat class.
    Синтаксис
    'Declaration
    
    Public Function New( _
    ByVal channelCount
    The channel count.
    As Integer, _
    ByVal bitsPerChannel
    The bits per channel.
    As Integer, _
    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 _
    )

    Parameters

    channelCount
    The channel count.
    bitsPerChannel
    The bits per channel.
    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.
    Исключения
    ИсключениеОписание
    Thrown if channelCount is less than 1 OR bitsPerChannel is less than 1.
    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.
    Требования

    Целевые платформы: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    Смотрите также