SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
The ZoomIn function redefines the preview location (zooming in or out).
C
void SftPrintPreview_ZoomIn(HWND hwnd, LPCSFTPRINTPREVIEW_ZOOMIN lpZoom);
C++
void CSftPrintPreview::ZoomIn(LPCSFTPRINTPREVIEW_ZOOMIN lpZoom);
hwnd
The window handle of the Print Preview control.
lpZoom
A pointer to a SFTPRINTPREVIEW_ZOOMIN structure defining the new preview location.
The ZoomIn function redefines the preview location (zooming in or out).
The Zoom function can be used to redefine the preview layout. The ZoomReset function can be used to restore a multi-page preview.
Additional and more detailed layout definitions are possible using the SetControlInfo function.
C
SFTPRINTPREVIEW_ZOOMIN z; memset(&z, 0, sizeof(z)); z.zoomFactor = +100; z.centerPosX = z.centerPosY = -1.0; SftPrintPreview_ZoomIn(hwndPreview, &z);
C++
SFTPRINTPREVIEW_ZOOMIN z; memset(&z, 0, sizeof(z)); z.zoomFactor = +100; z.centerPosX = z.centerPosY = -1.0; m_Preview.ZoomIn(&z);
See Also C/C++ API | C++ Classes | Notifications