SftButton/DLL 3.0 - Button Control (Coming Soon)
SftTabs/DLL 7.0 - Tab Control (Coming Soon)
SftTree/DLL 7.5 - Tree Control
SftTree/DLL 8.0 - Tree Control (Coming Soon)
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
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
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
