[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Indexed4bppBitmap.-ctor

Indexed4bppBitmap Constructor

Indexed4bppBitmap(int, int, bool, bool, bool, float, float)

Initializes a new instance of the Indexed4bppBitmap class.

Declaration
public Indexed4bppBitmap(int pixelWidth, int pixelHeight, bool opaque, bool premultiplied = false, bool lowerBitsFirst = false, float dpiX = 96, float dpiY = 96)
Public Sub New(pixelWidth As Integer, pixelHeight As Integer, opaque As Boolean, Optional premultiplied As Boolean = False, Optional lowerBitsFirst As Boolean = False, Optional dpiX As Single = 96, Optional dpiY As Single = 96)
Parameters
Type Name Description
int pixelWidth

The width of the image, in pixels.

int pixelHeight

The height of the image, in pixels.

bool opaque

Indicates whether the alpha channel should be ignored.

bool premultiplied

Indicates whether the color channels for all pixels are premultiplied by the alpha channel.

bool 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.

float dpiX

The horizontal dpi of the image.

float dpiY

The vertical dpi of the image.