ImageEn, unit iemview

TImageEnMView.OnCreateParams

TImageEnMView.OnCreateParams


Declaration


property OnCreateParams: TIECreateParamsEvent;


Description


Occurs whenever (immediately after) a new image is created (i.e whenever a new image is added to the TImageEnMView) so that default TIOParams can be set.


Example


procedure Tfmain.ImageEnMView1CreateParams(Sender: TObject; idx: Integer; Params: TIOParams);
begin
  // Load raw images with Gamma of 1
  Params.RAW_Gamma := 1;
end;


See Also


- Params