SPECIAL OFFER        Order and save right now!
20% off with the 729824315 dicscount code for Ultimate Pack and any another product for Delphi from Greatis Programming!

⤷ Print a bitmap

This example shows how to print a bitmap.

uses Printers;
...
procedure TForm1.Button1Click(Sender: TObject);
var
  Bitmap: TBitmap;
begin
  BitMap:=TBitmap.Create;
  BitMap.LoadFromFile('factory.bmp');
  with Printer do
  begin
    BeginDoc;
    Canvas.Draw(25,25,BitMap);
    EndDoc;
  end;
  BitMap.Free;
end;
More for developers
Databases for Amazon Associates
Amazon Categories
Amazon Nodes