Documents for Imaging .NET Edition
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / BilevelBitmap Class / BilevelBitmap Constructor / BilevelBitmap Constructor(IntPtr,Int32,Int32,Boolean,Boolean,Boolean,Single,Single)
The pixel data to be attached to a BilevelBitmap.
The width of the image, in pixels.
The height of the image, in pixels.
If true, pixels are arranged within a byte such that pixels with lower column indices are stored in the lower-order bits of the byte.
If true, the image is used to define an irregularly shaped region of another image.
If true, specifies that 0 represents white and 1 represents black.
The horizontal dpi of the image.
The vertical dpi of the image.

In This Topic
    BilevelBitmap Constructor(IntPtr,Int32,Int32,Boolean,Boolean,Boolean,Single,Single)
    In This Topic
    Initializes a new instance of the BilevelBitmap class and sets the existing pixel data to be read/modified in-place.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal pixelData As System.IntPtr, _
       ByVal pixelWidth As System.Integer, _
       ByVal pixelHeight As System.Integer, _
       Optional ByVal lowerBitsFirst As System.Boolean, _
       Optional ByVal transparencyMask As System.Boolean, _
       Optional ByVal whiteIsZero As System.Boolean, _
       Optional ByVal dpiX As System.Single, _
       Optional ByVal dpiY As System.Single _
    )
    public BilevelBitmap( 
       System.IntPtr pixelData,
       System.int pixelWidth,
       System.int pixelHeight,
       System.bool lowerBitsFirst,
       System.bool transparencyMask,
       System.bool whiteIsZero,
       System.float dpiX,
       System.float dpiY
    )

    Parameters

    pixelData
    The pixel data to be attached to a BilevelBitmap.
    pixelWidth
    The width of the image, in pixels.
    pixelHeight
    The height of the image, in pixels.
    lowerBitsFirst
    If true, pixels are arranged within a byte such that pixels with lower column indices are stored in the lower-order bits of the byte.
    transparencyMask
    If true, the image is used to define an irregularly shaped region of another image.
    whiteIsZero
    If true, specifies that 0 represents white and 1 represents black.
    dpiX
    The horizontal dpi of the image.
    dpiY
    The vertical dpi of the image.
    See Also