Difference between revisions of "BitmapToString"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function BitmapToString(Bmp: Integer): AnsiString; </source> ==Availability== SCAR Divi 3.12 > Current ==Description== Convert...")
 
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
  
 
==Availability==
 
==Availability==
SCAR Divi 3.12 > Current
+
SCAR Divi 3.12 > 3.34
  
 
==Description==
 
==Description==
 
Converts a bitmap given by '''Bmp''' to a [[AnsiString|string]].
 
Converts a bitmap given by '''Bmp''' to a [[AnsiString|string]].
 +
 +
==Example==
 +
<source lang="scar">
 +
var
 +
  bmp: Integer;
 +
 +
begin
 +
  bmp := BitmapFromString(9, 6, 'beNqblnj51lsIqlsdte1ROZB' +
 +
    'cfXQ1XBCCapZHLb2ZtvlRCZCx+hCKbOWSqLlX4vtOBq+5mwtkrzq' +
 +
    'IkC2dHzPrUkzXkYD2vb4LLycAuVduv4Wg4jmxE44ENaz3bVgHQtN' +
 +
    'PRFy5/Q6CCqYl9u32b13rC0TTj4QUAABOnm1O');
 +
  WriteLn(BitmapToString(bmp));
 +
end.
 +
</source>
 +
 +
Output:
 +
beNqblnj51lsIqlsdte1ROZBcfXQ1XBCCapZHLb2ZtvlRCZCx+hCKbOWSqLlX4vtOBq+5mwtkrzqIkC2dHzPrUkzXkYD2vb4LLycAuVduv4Wg4jmxE44ENaz3bVgHQtNPRFy5/Q6CCqYl9u32b13rC0TTj4QUAABOnm1O
  
 
==See Also==
 
==See Also==
Line 14: Line 31:
 
*[[BitmapFromString2]]
 
*[[BitmapFromString2]]
  
[[Category:Functions]]
+
[[Category:Deprecated Functions]]
[[Category:Bitmap Functions]]
 

Latest revision as of 01:36, 4 November 2012

Definition

function BitmapToString(Bmp: Integer): AnsiString;

Availability

SCAR Divi 3.12 > 3.34

Description

Converts a bitmap given by Bmp to a string.

Example

var
  bmp: Integer;

begin
  bmp := BitmapFromString(9, 6, 'beNqblnj51lsIqlsdte1ROZB' +
    'cfXQ1XBCCapZHLb2ZtvlRCZCx+hCKbOWSqLlX4vtOBq+5mwtkrzq' +
    'IkC2dHzPrUkzXkYD2vb4LLycAuVduv4Wg4jmxE44ENaz3bVgHQtN' +
    'PRFy5/Q6CCqYl9u32b13rC0TTj4QUAABOnm1O');
  WriteLn(BitmapToString(bmp));
end.

Output:

beNqblnj51lsIqlsdte1ROZBcfXQ1XBCCapZHLb2ZtvlRCZCx+hCKbOWSqLlX4vtOBq+5mwtkrzqIkC2dHzPrUkzXkYD2vb4LLycAuVduv4Wg4jmxE44ENaz3bVgHQtNPRFy5/Q6CCqYl9u32b13rC0TTj4QUAABOnm1O

See Also