Probably the easiest way to do this is via the clipboard:
procedure TForm1.Button1Click( Sender: TObject );
begin
// paste selection contents to the clipboard
ImageEnView1.Proc.SelCopyToClip;
// if clipboard contains data valid for TImageEnProc
if ImageEnView2.Proc.IsClipboardAvailable then
begin
// paste the contents of the Clipboard to the ImageEnView2 selected area
ImageEnView2.Proc.SelPasteFromClip( );
// or paste the clipboard to the ImageEnView2 selected area, stretching the image to fit the selection
// ImageEnView2.Proc.SelPasteFromClipStretch;
ImageEnView2.Update;
end;
end;
William Miller