// General Insert (blank image) overload; procedure InsertImage(Idx: integer); overload;
// General Insert (blank image of specific size and color depth) procedure InsertImage(Idx: integer; Width, Height: integer; PixelFormat: TIEPixelFormat = ie24RGB); overload;
Inserts a new image at position, idx (0 is the first).
Note: ◼First overload of InsertImage(idx: integer) does NOT create the bitmap. You can initialize an empty bitmap with InsertImage( idx, 0, 0, ie24RGB ) ◼With TIEBitmap overload, the source bitmap may be modified ◼The inserted image will become selected. To prevent selection add iemoDontSelectOnAdd to MultiSelectionOptions
The parameters for the final overload are as follows:
Parameter
Description
Filename
A file or folder available on the system, or an HTTP or FTP link to a remote file
LoadOnDemand
If True, the image will not be loaded from disk until it is displayed (i.e. when it is scrolled into view)