BitonalScaling (ILEADRasterImgList) example for C++ 5.0 and later
m_LEADImageList.SetBitonalScaling(IMGLST_BITONALSCALING_NORMAL);
m_LEADImageList.LoadFromFile("G:\\Images\\MultiPage.tif", 1, 1, -1);
m_LEADImageList.EnsureVisible(m_LEADImageList.GetCount() - 1);
//force redrawing
m_LEADImageList.RedrawWindow ();
AfxMessageBox(TEXT("will enable bitonal scale to gray"));
//set the control to use scale to gray
m_LEADImageList.SetBitonalScaling(IMGLST_BITONALSCALING_SCALETOGRAY);
//force redrawing
m_LEADImageList.RedrawWindow ();