ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / Bitmap Class / Bitmap Constructor / Bitmap Constructor(Graphics,Int32,Int32)
A Graphics object.
The width, in pixels, of the new Bitmap object.
The height, in pixels, of the new Bitmap object.

In This Topic
    Bitmap Constructor(Graphics,Int32,Int32)
    In This Topic
    Intializes a new instance of the Bitmap class with the specified Graphics object and size.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal graphics As Graphics, _
       ByVal width As Integer, _
       ByVal height As Integer _
    )
    public Bitmap( 
       Graphics graphics,
       int width,
       int height
    )

    Parameters

    graphics
    A Graphics object.
    width
    The width, in pixels, of the new Bitmap object.
    height
    The height, in pixels, of the new Bitmap object.
    See Also