Board index » delphi » Canvas to Canvas with CopyRect
Marcel Fondacci
![]() Delphi Developer |
Thu, 03 Oct 2002 03:00:00 GMT
Canvas to Canvas with CopyRect
Hi
I had a little idea: display a page before printing. So I have written a little procedure like the one below. I create a Bitmap where I copy from the Printer canvas wuith CopyRect : My code : pageImage := TBitmap.create; client := Form2.PaintBox.ClientRect; { paintbox area} pageImage.Width := Client.Right; Source := Rect(0, 0, pageImage.Canvas.CopyMode := cmSrcCopy; The copyRect does NOTHING ! Thanks for all suggestions. M. FONDACCI |