GetMinMaxVal example for C++ Builder

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((int)LEADRasterView1->Raster->MinVal);
   Edit2->Text= IntToStr((int)LEADRasterView1->Raster->MaxVal);