Group: GDI+ Bitmap - Library: gdiplus
GpStatus WINGDIPAPI GdipCreateBitmapFromGraphics(
INT width,
INT height,
GpGraphics* target,
GpBitmap** bitmap
)
DECLARE INTEGER GdipCreateBitmapFromGraphics IN gdiplus;
INTEGER width,;
INTEGER height,;
INTEGER graphics,;
INTEGER @ bitmap
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.
Returns 0 on success.