Spread 8.0 Documentation
DLL
Support Options

Glossary Item Box

DLL


To zoom in and out

  1. To turn off the zoom feature, call the SpvSetAllowUserZoom function and set the value parameter to 0 (False).
  2. 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).
Copyright © GrapeCity, inc. All rights reserved.