我试了,
我在98下不止8*8的像素
都可以认呀
下面是我的代码:
procedure TForm1.Button1Click(Sender: TObject);
var
bitmap: Tbitmap;
begin
bitmap:= Tbitmap.Create;
try
Bitmap.LoadFromFile('a.bmp');
Form1.Canvas.Brush.Bitmap := Bitmap;
Form1.Canvas.FillRect(Rect(0,0,200,200));
finally
Form1.Canvas.Brush.Bitmap := nil;
Bitmap.Free;
end;
end;