BitmapToString

From SCAR Divi Manual
Jump to: navigation, search

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