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 Zoom function redefines the preview layout.
C
void SftPrintPreview_Zoom(HWND hwnd, LPCSFTPRINTPREVIEW_ZOOM lpZoom);
C++
void CSftPrintPreview::Zoom(LPCSFTPRINTPREVIEW_ZOOM lpZoom);
hwnd
The window handle of the Print Preview control.
lpZoom
A pointer to a SFTPRINTPREVIEW_ZOOM structure defining the new preview layout.
The Zoom function redefines the preview layout.
The ZoomIn function can be used to redefine the preview location (zooming in or out). 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_ZOOM zoom; memset(&zoom, 0, sizeof(zoom)); zoom.zoomFactor = SFTPRINTPREVIEW_ZOOM_FULLPAGE; zoom.centerPosX = zoom.centerPosY = 0.0; SftPrintPreview_Zoom(hwndPreview, &zoom);
C++
SFTPRINTPREVIEW_ZOOM zoom; memset(&zoom, 0, sizeof(zoom)); zoom.zoomFactor = SFTPRINTPREVIEW_ZOOM_FULLPAGE; zoom.centerPosX = zoom.centerPosY = 0.0; m_Preview.Zoom(&zoom);
See Also C/C++ API | C++ Classes | Notifications