GetMinMaxBits example for Delphi

The following example retrieves the values for MinBit and MaxBit using GetMinMaxBits and writes the results.

   LEADRasterView1.Raster.GetMinMaxBits ();
   Edit1.Text:= IntToStr(LEADRasterView1.Raster.MinBit);
   Edit2.Text:= IntToStr(LEADRasterView1.Raster.MaxBit);