Bitmap.Bitmap(INT, INT, Graphics*) constructor
Applies to: desktop apps only
Creates a Bitmap::Bitmap object based on a Graphics object, a width, and a height.
Syntax
Bitmap(
[in] INT width,
[in] INT height,
[in] Graphics *target
);
Parameters
width [in]
Type: INTInteger that specifies the width, in pixels, of the bitmap.
height [in]
Type: INTInteger that specifies the height, in pixels, of the bitmap.
target [in]
Type: Graphics*Pointer to a Graphics object that contains information used to initialize certain properties (for example, dots per inch) of the new Bitmap::Bitmap object.
Requirements
Minimum supported client |
Windows XP, Windows 2000 Professional |
Minimum supported server |
Windows 2000 Server |
Product |
GDI+ 1.0 |
Header |
Gdiplusheaders.h (include Gdiplus.h) |
Library |
Gdiplus.lib |
DLL |
Gdiplus.dll |
See also
Using Images, Bitmaps, and Metafiles
Images, Bitmaps, and Metafiles
Send comments about this topic to Microsoft
Build date: 3/6/2012