5,392
社区成员
发帖
与我相关
我的任务
分享
function aaa():TBitmap ;
begin
Result:=TBitmap.Create;
Result.loadfromfile('1.BMP');
end;
end;
procedure TForm3.Button1Click(Sender: TObject);
var
t:TBitmap;
begin
t:=aaa;
try
t.SaveToFile('2.bmp');
finally
t.Free;
end;
en;