BB FlashBack SDK: The FBGDIBitmap Class

Create

Description

Creates a bitmap of the specified height, width and bit depth.

Syntax

[C#/C++]
public void Create (long Width, long Height, long Bits);

[VB.NET]
Public Sub Create ( ByVal Width As Integer, ByVal Height As Integer, ByVal Bits As Integer)

Parameters

GDIContext - handle to a device context

CopyToPositionX - the X co-ordinate of the point in the target device context into which the bitmap will be copied

CopyToPositionY - the Y co-ordinate of the point in the target device context into which the bitmap will be copied

CopyWidth - width of the rectangle to copy from the bitmap

CopyHeight - height of the rectangle to copy from the bitmap

CopyFromPositionX - the X co-ordinate in the bitmap of the top left corner of the rectangle to be copied

CopyFromPositionY - the X co-ordinate in the bitmap of the top left corner of the rectangle to be copied

Remarks

See About the FBGDIBitmap class for example usage.

Use FreeResources to free the bitmap and device context created by FBGDIBitmap::Create

See also

FBGDIBitmap::FreeResources