ZoomifyViewer.setInitialZoom(zoom)

Availability

Flash Player 6.

Usage

ZoomifyViewerInstance.setInitialZoom(zoom);

Parameters

zoom - new initial zoom of the image.

Returns

Nothing

Description

Sets the zoom value of the initial view, that is, the view on load and on reset. The zoom value is used to specify the magnification of the image where 100 means 100% magnification. Special case: setting zoom to -1 fits the image exactly within the display area.

Example


ZoomifyViewerInstance.setInitialZoom(-1);

See also

ZoomifyViewer.setZoom
ZoomifyViewer.getZoom
ZoomifyViewer.setMinZoom
ZoomifyViewer.setMaxZoom
ZoomifyViewer.updateView
ZoomifyViewer.setView
ZoomifyViewer.setX
ZoomifyViewer.setY
ZoomifyViewer.resetView
ZoomifyViewer.zoomIn
ZoomifyViewer.zoomOut
ZoomifyViewer.panLeft
ZoomifyViewer.panRight
ZoomifyViewer.panUp
ZoomifyViewer.panDown
ZoomifyViewer.panStop