GetMinMaxBits example for C++ 5.0 and later

The following example retrieves the values for MinBit and MaxBit using GetMinMaxBits and writes the results.

    CString cs;
    m_LEADRasterView1.GetRaster().GetMinMaxBits();
    cs.Format(TEXT("%d"), m_LEADRasterView1.GetRaster().GetMinBit());
    m_Text1.SetWindowText(cs);
    cs.Format(TEXT("%d"), m_LEADRasterView1.GetRaster().GetMaxBit());
    m_Text2.SetWindowText(cs);