procedure TForm1.Button1Click(Sender: TObject);<br>var hbm:HBITMAP; hdcImage:HDC; bm:BITMAP;<br>begin<br>hbm:=LoadImage(0, 'C:/xxxx.bmp', IMAGE_BITMAP, 0, 0,<br> LR_LOADFROMFILE or LR_CREATEDIBSECTION);<br>hdcImage := CreateCompatibleDC(0);<br>SelectObject(hdcImage, hbm);<br>GetObject(hbm, sizeof(bm), @bm);<br>BitBlt(Self.canvas.handle, 0, 0, bm.bmWidth, bm.bmHeight, hdcImage, 0, 0, SRCCOPY);<br>DeleteDC(hdcImage);<br>end;