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:

The last three options are read-only properties, so they must be accessed as 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
zoomPage
zoomWidth
zoomHeight
zoomPercent
zoomToRect2
zoomCentered
zoomToCurrentWidth