GetMinMaxVal example for Delphi

The following example retrieves the values for MinVal and MaxVal using GetMinMaxVal and writes the results.

// add 2 EditBox controls for testing
     //must call GetMinMaxVal first
   LEADRasterView1.Raster.GetMinMaxVal ();
   Edit1.Text:= IntToStr(LEADRasterView1.Raster.MinVal);
   Edit2.Text:= IntToStr(LEADRasterView1.Raster.MaxVal);