GRAPHIC BITMAP NEW statement

Purpose

Create a new memory bitmap.

Syntax

GRAPHIC BITMAP NEW nWidth&, nHeight& TO hBmp???

Remarks

GRAPHIC BITMAP NEW creates a new memory bitmap, which may be manipulated and drawn just as if it were a GRAPHIC WINDOW, except that it is not visible.  The parameters nWidth& and nHeight& specify the width and height of the bitmap, in pixels.  If the bitmap creation is successful, the bitmap handle is assigned to the variable hBmp???.  If not successful, hBmp??? is set to zero.  When you are finished using this memory bitmap, you must delete it with GRAPHIC BITMAP END.

See also

GRAPHIC ATTACH, GRAPHIC BITMAP END, GRAPHIC BITMAP LOAD