BitmapAssigned

From SCAR Divi Manual
Revision as of 22:18, 27 June 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function BitmapAssigned(const iBmp: Integer): Boolean; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Ret...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function BitmapAssigned(const iBmp: Integer): Boolean;

Availability

SCAR Divi 3.00 > Current

Description

Returns true if an given index iBmp has a bitmap associated with it in the bitmap 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