I have upgraded from v8.0.1 and the following no longer works:
navigator.CopySelectionToBitmap( selimage.IEBitmap );
It outputs a black or white picture
sx1:=navigator.SelX1;
sy1:=navigator.SelY1;
Both values are delivered with 237856, the correct value is not delivered.
Navigators don’t have selections (even though it worked as such in older versions).
Are you trying to output the view from one ImageEnView to another one?
You can use:
// Output the visible bitmap in ImageEnView1 to ImageEnView2
ImageEnView2.IEBitmap.Width := IERectangle( ImageEnView1.VisibleBitmapRect ).Width;
ImageEnView2.IEBitmap.Height := IERectangle( ImageEnView1.VisibleBitmapRect ).Height;
ImageEnView1.IEBitmap.DrawToTIEBitmap( ImageEnView2.IEBitmap, 0, 0, IERectangle( ImageEnView1.VisibleBitmapRect ));
ImageEnView2.Update();
Nigel
Xequte Software
www.imageen.com