Difference between revisions of "FreeBitmap"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function FreeBitmap(const Bmp: Integer): Boolean; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Frees a...")
(No difference)

Revision as of 09:28, 28 June 2011

Definition

function FreeBitmap(const Bmp: Integer): Boolean;

Availability

SCAR Divi 3.00 > Current

Description

Frees a bitmap with index specified by Bmp, it returns true if the bitmap was assigned and found in the bitmaps resource manager.

Example

var
  b: Integer;

begin
  b := BitmapFromString(1, 1, '');
  WriteLn(BitmapAssigned(b));
  FreeBitmap(b);
  WriteLn(BitmapAssigned(b));
end.

Output:

1
0

See Also