View.panToPosition


panToPosition(modelX, modelY, modelZ, screenX, [screenY])

Move the model around in the window such that the given model coordinates appear at the given screen position. Note that panning does not move the model relative to the printed page, see moveModelOnPage Panning automatically turns off scaled to fit mode.

modelXdoubleposition in model space
modelYdoubleposition in model space
modelZdoubleposition in model space
screenXdouble0.2 = 20% across from left of screen
screenYdouble 0.2 = 20% up from *bottom* of screen
Return valuenone 

See also setScaledToFit

Back to View

Back to Overview