Difference between revisions of "BitmapToString"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function BitmapToString(Bmp: Integer): AnsiString; </source> ==Availability== SCAR Divi 3.12 > Current ==Description== Convert...") |
|||
Line 9: | Line 9: | ||
==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== |
Revision as of 11:44, 4 September 2011
Definition
function BitmapToString(Bmp: Integer): AnsiString;
Availability
SCAR Divi 3.12 > Current
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