LevelLowBit example for Visual Basic

Note: Also works with Access 95 and 97.

This is also the example for LevelHighBit.

This example sets LevelLowBit and LevelHighBit to display the image using only the eight least significant bits.

     LEADRasterView1.AutoRepaint = False
     'use least significant 8 bits
     LEADRasterView1.Raster.LevelLowBit = 0
     LEADRasterView1.Raster.LevelHighBit = 7
     LEADRasterView1.AutoRepaint = True