zoomToCurrentWidth

Zoom so that the current page horizontally fills the window.
zoomToCurrentWidth()
This function will set the zoom factor so that the current page(s) fit the current width of the window. This is mostly useful when using continuous view mode with PDF files that have pages of different sizes.
VB6:
viewer.zoomToCurrentWidth
zoom