ZoomifyViewer.getInitialZoom()

Availability

Flash Player 6.

Usage

ZoomifyViewerInstance.getInitialZoom();

Parameters

None

Returns

The zoom value of the initial view.

Description

Returns 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: a zoom setting of -1 fits the image exactly within the display area.

Example


var newInitialZoom=ZoomifyViewerInstance.getInitialZoom();

See also

ZoomifyViewer.getInitialX
ZoomifyViewer.getInitialY
ZoomifyViewer.setZoom
ZoomifyViewer.setView
ZoomifyViewer.resetView
ZoomifyViewer.setMinZoom
ZoomifyViewer.setMaxZoom
ZoomifyViewer.zoomIn
ZoomifyViewer.zoomOut
ZoomifyViewer.updateView