![]() ![]() | |
Flash Player 6.
ZoomifyViewerInstance.getViewWidth();
None
ZoomifyViewer width in pixels.
Returns the width of the ZoomifyViewer instance in pixels. Use getViewWidth in place of reading the component property _width 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.
var newWidth=ZoomifyViewerInstance.getViewWidth();
var newHeight=ZoomifyViewerInstance.getViewHeight();
ZoomifyViewerInstance.setSize(newWidth,newHeight);
ZoomifyViewerInstance.updateView();
ZoomifyViewer.getViewHeight
ZoomifyViewer.setSize
ZoomifyViewer.updateView
![]() ![]() | |