TPaintBox в буфер обмена |
Previous Top Next |
Автор: Xavier Pacheco
Code: |
var pbRect: TRect; begin pbRect := Rect(0, 0, PaintBox1.Width, PaintBox1.Height); BitMap := TBitMap.Create; try Bitmap.Width := PaintBox1.Width; Bitmap.Height := PaintBox1.Height; BitMap.Canvas.CopyRect(pbRect, PaintBox1.Canvas, pbRect); ClipBoard.Assign(BitMap); finally BitMap.Free; end; end;
|
©Drkb::01913
DelphiWorld 6.0