ImageEn, unit imageenproc

TImageEnProc.IPDialogParams

TImageEnProc.IPDialogParams


Declaration

property IPDialogParams: TIPDialogParams;


Description

This property contains TIPDialogParams object which provides read/write access to the parameters of the Image Processing Dialog (displayed by calling DoPreviews).


Example

// Set default brightness in "Contrast" tab
ImageEnView1.Proc.IPDialogParams.CONTRAST_Brightness := 20;
ImageEnView1.Proc.DoPreviews;

// Make parameters persistent (saved between sessions)
if FileExists(AppSettingsFolder + 'Previews.dat') then
  ImageEnView1.Proc.IPDialogParams.LoadFromFile(AppSettingsFolder + 'Previews.dat');
If ImageEnView1.Proc.DoPreviews then
  ImageEnView1.Proc.IPDialogParams.SaveToFile(AppSettingsFolder + 'Previews.dat');