ImageEn, unit iemview

TImageEnMView.InsertImageEx

TImageEnMView.InsertImageEx


Declaration


procedure InsertImageEx(idx: integer; SelectMode : TIEMSelectMode = imsNever);


Description


InsertImageEx inserts a new image in position, idx (0 is the first).

Unlike InsertImage, InsertImageEx doesn't create the bitmap. Also, you can configure whether the image is selected.


Examples


ImageEnView1.IO.LoadFromFile('000.tif');
ImageEnMView1.InsertImageEx(0);
ImageEnMView1.SetImage(0, ImageEnView1.IEBitmap);

// Append an image without selecting it
ImageEnMView1.InsertImageEx( ImageEnMView1.ImageCount, imsNever );


See Also


- InsertImage
- DeleteImage
- AppendImage
- FillFromList
- FillFromDirectory