Hi Monzer
There must be something else going on. Just for sanity I ran the MultiView2 demo and loaded a multipage TIFF.
All of the following worked:
procedure TMainForm.Button1Click(Sender: TObject);
Begin
ImageEnVect1.IO.LoadFromFile( 'D:\_Testfiles\ds1.jpg' );
ImageEnMView1.SetImage( 1, ImageEnVect1.IEBitmap );
End;
procedure TMainForm.Button1Click(Sender: TObject);
Var
bmp: TIEBitmap;
Begin
bmp := TIEBitmap.Create;
bmp.read( 'D:\_Testfiles\ds1.jpg' );
ImageEnMView1.DeleteImage( 1 );
ImageEnMView1.InsertImage( 1, bmp );
bmp.free;
End;
procedure TMainForm.Button1Click(Sender: TObject);
Var
bmp: TIEBitmap;
Begin
bmp := TIEBitmap.Create;
bmp.read( 'D:\_Testfiles\ds1.jpg' );
ImageEnMView1.SetImage( 1, bmp );
bmp.free;
End;
Nigel
Xequte Software
www.xequte.com
nigel@xequte.com