ImageEn, unit iexProcEffects

TIEImageEffect.LoadFromFile

TIEImageEffect.LoadFromFile


Declaration

procedure LoadFromFile(const FileName: String);


Description

Load parameters for the Image Processing Dialog (i.e. the current setting of all controls).

Note: LoadFromFile only works with files saved using SaveToFile


Example

// 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

LoadFromStream
LoadFromRegistry
LoadFromIniFile