zoomPercent

Get the current zoom factor as a percentage.
[read-only property] zoomPercent([out, retval] double *zoom)
This property returns the current zoom factor as a percentage. If the current zoom is zoomPage, zoomWidth, or zoomHeight, zoomPercent will compute the zoom percentage based on the current window size.
VB:
double zoom; zoom = viewer.zoomPercent
zoom
zoomToRect2
zoomCentered
zoomToCurrentWidth