LevelLUTLength example for C++ 5.0 and later

This example writes out the number of entries in the LUT.

    CString cs;
    cs.Format(TEXT("%d"), m_LEADRasterView1.GetRaster().GetLevelLUTLength());
    m_Edit5.SetWindowText(cs);