Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / Indexed4bppBitmap Class / Indexed4bppBitmap Constructor
The width of the image, in pixels.
The height of the image, in pixels.
Indicates whether the alpha channel should be ignored.
Indicates whether the color channels for all pixels are premultiplied by the alpha channel.
If true, pixels are arranged within a byte such that pixels with lower column indices are stored in the lower-order bit tetrads of the byte.
The horizontal dpi of the image.
The vertical dpi of the image.

In This Topic
    Indexed4bppBitmap Constructor
    In This Topic
    Initializes a new instance of the Indexed4bppBitmap class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal pixelWidth As System.Integer, _
       ByVal pixelHeight As System.Integer, _
       ByVal opaque As System.Boolean, _
       Optional ByVal premultiplied As System.Boolean, _
       Optional ByVal lowerBitsFirst As System.Boolean, _
       Optional ByVal dpiX As System.Single, _
       Optional ByVal dpiY As System.Single _
    )
    public Indexed4bppBitmap( 
       System.int pixelWidth,
       System.int pixelHeight,
       System.bool opaque,
       System.bool premultiplied,
       System.bool lowerBitsFirst,
       System.float dpiX,
       System.float dpiY
    )

    Parameters

    pixelWidth
    The width of the image, in pixels.
    pixelHeight
    The height of the image, in pixels.
    opaque
    Indicates whether the alpha channel should be ignored.
    premultiplied
    Indicates whether the color channels for all pixels are premultiplied by the alpha channel.
    lowerBitsFirst
    If true, pixels are arranged within a byte such that pixels with lower column indices are stored in the lower-order bit tetrads of the byte.
    dpiX
    The horizontal dpi of the image.
    dpiY
    The vertical dpi of the image.
    See Also