27-06-2015, 01:08 PM
01-07-2015, 03:29 PM
نجحت معى 

كود :
var
Bitmap: TBitmap;
Source: TRect;
Dest: TRect;
begin
Bitmap := TBitmap.Create;
try
with Bitmap do
begin
Width := Image1.Width;
Height := Image1.Height;
Dest := Rect(0, 0, Width, Height);
end;
with MyPaintBox do
Source := Rect(80, 80, Width, Height);
MyPaintBox.Canvas.CopyRect(Dest, Image1.Canvas, Source);
finally
Bitmap.Free;
end;