Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GrayscaleBitmap Class / GrayscaleBitmap Constructor / GrayscaleBitmap Constructor(Int32,Int32,Boolean,Boolean,Single,Single)
The width of the image, in pixels.
The height of the image, in pixels.
If true, the image is used to define an irregularly shaped region of another image.
If true, specifies that 0 is imaged as white and 255 is imaged as black.
The horizontal dpi of the image.
The vertical dpi of the image.

In This Topic
    GrayscaleBitmap Constructor(Int32,Int32,Boolean,Boolean,Single,Single)
    In This Topic
    Initializes a new instance of the GrayscaleBitmap class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal pixelWidth As System.Integer, _
       ByVal pixelHeight As System.Integer, _
       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 GrayscaleBitmap( 
       System.int pixelWidth,
       System.int pixelHeight,
       System.bool transparencyMask,
       System.bool whiteIsZero,
       System.float dpiX,
       System.float dpiY
    )

    Parameters

    pixelWidth
    The width of the image, in pixels.
    pixelHeight
    The height of the image, in pixels.
    transparencyMask
    If true, the image is used to define an irregularly shaped region of another image.
    whiteIsZero
    If true, specifies that 0 is imaged as white and 255 is imaged as black.
    dpiX
    The horizontal dpi of the image.
    dpiY
    The vertical dpi of the image.
    See Also