LevelLowBit example for C++ 5.0 and later
This is also the example for LevelHighBit.
This example sets LevelLowBit and LevelHighBit to display the image using only the eight least significant bits.
m_LEADRasterView1.SetAutoRepaint(FALSE);
//use least significant 8 bits
m_LEADRasterView1.GetRaster().SetLevelLowBit(0);
m_LEADRasterView1.GetRaster().SetLevelHighBit(7);
m_LEADRasterView1.SetAutoRepaint(TRUE);