VintaSoft Barcode .NET SDK 16.0: Документация для Веб разработчика
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 T:Vintasoft.Imaging.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 {i}channelCount{/i} is less than 1 {b}OR{/b} {i}bitsPerChannel{/i} is less than 1.
Thrown if {b}pixelDataIsLittleEndian{/b} and {b}channelDataIsLittleEndian{/b} are both {b}true{/b}.
Thrown if {b}pixelDataIsLittleEndian{/b} is {b}true{/b} but pixel data is not byte-padded {b}OR{/b} {b}channelDataIsLittleEndian{/b} is {b}true{/b} but channel data is not byte-padded.
Требования

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

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