zoom
Get/set the current zoom factor.
[read/write property]
zoom([out, retval] double *zoom)
zoom([in] double zoom)
This property contains the current zoom factor.
Setting this property changes the zoom factor. The zoom factor can be any of:
- a percentage, where 100 corresponds to 72 dpi, 200 means double size (144 dpi), 50 means half size (36 dpi), etc.
zoomPage
, meaning "fit a whole page in the window"zoomWidth
, meaning "fit the page width to the window"zoomHeight
, meaning "fit the page height to the window"
viewer.zoomPage
,
viewer.zoomWidth
, and viewer.zoomHeight
.
To get the current zoom factor as a percent, see
zoomPercent
.
VB:
zoom = viewer.zoom
...
viewer.zoom = 150