Difference between revisions of "BitmapAssigned"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function BitmapAssigned(const iBmp: Integer): Boolean; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Ret...")
 
 
Line 5: Line 5:
  
 
==Availability==
 
==Availability==
SCAR Divi 3.00 > Current
+
SCAR Divi 3.00 > 3.34
  
 
==Description==
 
==Description==
Line 30: Line 30:
 
*[[FreeBitmap]]
 
*[[FreeBitmap]]
  
[[Category:Functions]]
+
[[Category:Deprecated Functions]]
[[Category:Bitmap Functions]]
 

Latest revision as of 01:36, 4 November 2012

Definition

function BitmapAssigned(const iBmp: Integer): Boolean;

Availability

SCAR Divi 3.00 > 3.34

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