Posted - Nov 27 2021 : 15:32:52
| ie (x1, y1, x2, y2 computed offsets into ie2) holds the original bitmap which we want to copy into ie2's bitmap (ie2 bitmap is larger than ie's bitmap) so we center it, HOWEVER the ie2 bitmap now shrinks to the exact size of ie's bitmap ??? How do we stop ie2 changing size ?
// Select area inside ie2
ie2.Select(x1, y1, x2, y2);
// Overlay Base Bitmap Aspect Ratio, Stretch
ie2.ApplyBitmapToSelection(ie.IEBitmap, True, False);
No matter what I do the ie2 bitmap shrinks to the same size of ie bitmap.