newbmp:= TBitmap.Create;
  newbmp.Width:=image1.Width;
  newbmp.Height:=image1.Height;
  bmpheight:=image1.Height;
  bmpwidth:=image1.Width;
  for i:=0 to bmpheight do begin
    newbmp.Canvas.CopyRect(Rect
    (0,bmpheight-i,bmpwidth,bmpheight),
    image1.Canvas,
    Rect(0,0,bmpwidth,i));
    form1.Canvas.Draw(120,100,newbmp);
  end;
  newbmp.free;其中这一句 报错
  newbmp.Canvas.CopyRect(Rect
    (0,bmpheight-i,bmpwidth,bmpheight),
    image1.Canvas,
    Rect(0,0,bmpwidth,i));
谁知道如何解决吗