Delphi-Quellcode:
Procedure TForm1.Button1Click(Sender: TObject);
Var
p: TRect;
Begin
Image1 := TBitmap.Create;
Image1.LoadFromFile('C:\Download\snap00854.bmp');
DrawToCell(DrawGrid1, Image1, 3, 1);
End;
Procedure TForm1.DrawToCell(_Grid: TDrawGrid; _Bitmap: TBitmap; _Col, _Row: Integer);
Var
p: TRect;
Begin
p := _Grid.CellRect(_Col, _Row);
_Grid.Canvas.Draw(p.Left, p.Top, _Bitmap);
End;
Edit: Methode zum Zeichnen eingefügt