PaintDither example for C++ 5.0 and later
This example turns on error diffusion and redisplays the bitmap.
m_LEADRasterView1.SetPaintDither(PAINTDITHER_DIFFUSION); m_LEADRasterView1.ForceRepaint();