ImageEn, unit iexBitmaps

TIEBitmap.Location

TIEBitmap.Location


Declaration

property Location: TIELocation;


Description

Specifies how the image is stored (e.g. in memory).
Value Description
ieMemory Uses standard memory. Used for fast and smaller images. Canvas not available (see Notes)
ieFile Uses memory mapped files. Used for very large images. Canvas not available (see Notes)
ieTBitmap Uses TBitmap VCL object. Used for drawing and compatibility. Canvas available

Note:
 Accessing the canvas or VCL Bitmap, will automatically change the Location to ieTBitmap
 Location can be assigned before or after allocation of the image (i.e. the image will be converted to the new location)

Default: ieMemory if sufficient memory is available, otherwise ieFile


Example

// Optimize TImageEnView to handle very large images
ImageEnView1.LegacyBitmap := False;
ImageEnView1.IEBitmap.Location := ieFile;


See Also

 MinFileSize