ZoomService

ZoomService

Zoom service object

Constructor

# new ZoomService()

Members

# zoomLevels

Available zoom levels for selected document and viewer dimensions.

Methods

# getMaxZoomValue()

Returns max zoom value for loaded document and current viewer dimension size.

# setZoomValue(zoomValue)

Sets and applies zoomValue.

Parameters:
Name Type Description
zoomValue number

Zoom value to set.

# zoomIn()

Magnify displayed content size.