GetMinMaxBits example for Visual Basic

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

     LEADRasterView1.Raster.GetMinMaxBits
     Text1.Text = CStr(LEADRasterView1.Raster.MinBit)
     Text2.Text = CStr(LEADRasterView1.Raster.MaxBit)