Spread 8.0 Documentation
|
|
DLL
|
Support Options
|
DLL
To zoom in and out
- To turn off the zoom feature, call the SpvSetAllowUserZoom function and set the value parameter to 0 (False).
-
To change the way the control zooms,
- If you want to zoom in on the page, call the SpvSetZoomState property and set the value parameter to 1 (SPV_ZOOMSTATE_IN).
- If you want to zoom out on the page, call the SpvSetZoomState function and set the value parameter to 2 (SPV_ZOOMSTATE_OUT).
- If you want to switch between zooming in and zooming out, call the SpvSetZoomState function and set the value parameter to 3 (SPV_ZOOMSTATE_SWITCH).