Declaration
procedure LoadFromFile(const FileName: WideString; CheckMagicString: Boolean = true);
Description
Load file formats parameters from a meta-data file (that was saved using
SaveToFile).
CheckMagicString should always be True, unless you must maintain compatibility with files saved from earlier editions of ImageEn (prior to v6.3.1)
Note: This does NOT read the parameters from an existing image file. See
Read instead
// Save default parameters
ImageEnView1.IO.Params.TIFF_Compression := ioTIFF_LZW;
ImageEnView1.IO.Params.SaveToFile('D:\default.params');
...
// Load default parameters
ImageEnView1.IO.Params.LoadFromFile('D:\default.params');