VintaSoft Barcode .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging Namespace / BitmapChannelsFormat Class / BitmapChannelsFormat Constructors / BitmapChannelsFormat Constructor(Int32,Int32,Boolean,Boolean)
Syntax Exceptions Requirements SeeAlso
In This Topic
    BitmapChannelsFormat Constructor(Int32,Int32,Boolean,Boolean)
    In This Topic
    Initializes a new instance of the BitmapChannelsFormat class.
    Syntax
    '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.
    Exceptions
    ExceptionDescription
    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.
    Requirements

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

    See Also