ZoomifyViewer.getViewHeight()

Availability

Flash Player 6.

Usage

ZoomifyViewerInstance.getViewHeight();

Parameters

None

Returns

ZoomifyViewer Height in pixels.

Description

Returns the Height of the ZoomifyViewer instance in pixels. Use getViewHeight in place of reading the component property _Height as this property is not designed to allow for zoom and pan effects and will include horizontal distance encompassing image content that is zoomed out of view.

Example


var newWidth=ZoomifyViewerInstance.getViewWidth();
var newHeight=ZoomifyViewerInstance.getViewHeight();
ZoomifyViewerInstance.setSize(newWidth,newHeight);
ZoomifyViewerInstance.updateView();

See also

ZoomifyViewer.getViewWidth
ZoomifyViewer.setSize
ZoomifyViewer.updateView