Available in the LEADTOOLS Imaging toolkit. |
PaintZoomFactor Example for C++ 4.0 and later
This example shows how to set the PaintZoomFactor property so that image is scaled 200 percent for display.
m_Lead1.SetAutoScroll(FALSE);
m_Lead1.SetAutoSetRects(TRUE);
m_Lead1.SetPaintSizeMode(PAINTSIZEMODE_ZOOM);
m_Lead1.SetPaintZoomFactor(200.0f);
m_Lead1.ForceRepaint();