Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a Bitmap::Bitmap object based on a Graphics object, a width, and a height.
Syntax
void Bitmap(
  [in] INT      width,
  [in] INT      height,
  [in] Graphics *target
);
Parameters
[in] width
Type: INT
Integer that specifies the width, in pixels, of the bitmap.
[in] height
Type: INT
Integer that specifies the height, in pixels, of the bitmap.
[in] target
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.
Return value
None
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows XP, Windows 2000 Professional [desktop apps only] | 
| Minimum supported server | Windows 2000 Server [desktop apps only] | 
| Target Platform | Windows | 
| Header | gdiplusheaders.h (include Gdiplus.h) | 
| Library | Gdiplus.lib | 
| DLL | Gdiplus.dll |