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

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also