ImageEn, unit iexProcEffects |
|
TIEImageEffect.SaveToFile
Declaration
procedure SaveToFile(const FileName: String);
Description
Save parameters for the
Image Processing Dialog (i.e. the current setting of all controls).
Note: SaveToFile outputs in a custom ImageEn format. It can only be read using
LoadFromFile
// Maintain state of effects preview dialog
if FileExists( ChangeFileExt( Application.ExeName, '.ipsettings' )) then
ImageEnView1.Proc.IPDialogParams.LoadFromFile( ChangeFileExt( Application.ExeName, '.ipsettings' ));
ImageEnView1.Proc.DoPreviews( ppeSpecialEffects );
ImageEnView1.Proc.IPDialogParams.SaveToFile( ChangeFileExt( Application.ExeName, '.ipsettings' ));
See Also
◼SaveToStream
◼SaveToRegistry
◼SaveToIniFile