Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1001 Bytes

GdipCreateBitmapFromGraphics.md

File metadata and controls

58 lines (40 loc) · 1001 Bytes

Home

Function name : GdipCreateBitmapFromGraphics

Group: GDI+ Bitmap - Library: gdiplus


Creates a Bitmap object based on a Graphics object, a width, and a height.


Code examples:

Custom GDI+ class

Declaration:

GpStatus WINGDIPAPI GdipCreateBitmapFromGraphics(
	INT width,
	INT height,
	GpGraphics* target,
	GpBitmap** bitmap
)
  

FoxPro declaration:

DECLARE INTEGER GdipCreateBitmapFromGraphics IN gdiplus;
	INTEGER   width,;
	INTEGER   height,;
	INTEGER   graphics,;
	INTEGER @ bitmap
  

Parameters:

width [in] Integer that specifies the width, in pixels, of the bitmap.

height [in] Integer that specifies the height, in pixels, of the bitmap.

target [in] Handle to a GDI+ Graphics object.

bitmap [out] Handle to the GDI+ bitmap object.


Return value:

Returns 0 on success.