PaintSizeMode Example for C++ 5.0 and later

This example shows how to set the PaintSizeMode property so that the control uses only a vertical scroll bar.

m_LEADRasterView1.SetAutoScroll(TRUE);
m_LEADRasterView1.SetAutoSetRects(TRUE);
m_LEADRasterView1.SetPaintSizeMode(PAINTSIZEMODE_FITSIDES);
m_LEADRasterView1.ForceRepaint();