ImageEn, unit iesettings

TIEImageEnGlobalSettings.DefMinFileSize

TIEImageEnGlobalSettings.DefMinFileSize


Declaration

property DefMinFileSize: int64;


Description

Specifies the default value for MinFileSize.

If DefMinFileSize = -1, each bitmap users their own MinFileSize value.
If DefMinFileSize > -1, it overrides the MinFileSize property of all bitmaps

Note: Value represents the size of the image in memory in bytes, not file size,

Default: -1


Example

// Make all bitmaps use file storage for images larger than 10MB
IEGlobalSettings().DefMinFileSize := 10 * 1024 * 1024;

// Make current bitmap use file storage if image is larger than 1MB
IEGlobalSettings().DefMinFileSize := -1;
MyBMP.MinFileSize := 1 * 1024 * 1024;


See Also

- MinFileSize
- Location