How can I copy selection from ImageEnView to IEBitmap and how I can copy that IEBitmap back to that original selection from ImageEnView with retaining dimensions and aspect ratio?.
But that IEBitmap.assign replaces whole image. I need something like IEBitmapCopyToSelection function. Anyway I'm copying selection to IEBitmap now and then doing some changes to that IEBitmap image and then I want to copy that changed image back to that original selection. Is that possible?
Off the top of my head, I can't think how you can automatically assign a bitmap to a selection without using the clipboard (TImageEnProc.SelPasteFromClip).
At any rate you can get the selection rect and then StretchDraw the image onto the ImageEnView1.IEBitmap.