ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / Bitmap Class / Bitmap Constructor / Bitmap Constructor(Int32,Int32,BitsPerPixel)
The width, in pixels, of the new Bitmap object.
The height, in pixels, of the new Bitmap object.
The number of bits required to identify the color of a single pixel.

In This Topic
    Bitmap Constructor(Int32,Int32,BitsPerPixel)
    In This Topic
    Intializes a new instance of the Bitmap class with the specified size color format (color planes and bits-per-pixel).
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal width As Integer, _
       ByVal height As Integer, _
       ByVal bitsPerPixel As BitsPerPixel _
    )
    public Bitmap( 
       int width,
       int height,
       BitsPerPixel bitsPerPixel
    )

    Parameters

    width
    The width, in pixels, of the new Bitmap object.
    height
    The height, in pixels, of the new Bitmap object.
    bitsPerPixel
    The number of bits required to identify the color of a single pixel.
    See Also