[]
        
(Showing Draft Content)

ZoomCommand

Document Solutions Image Viewer - v7.1.0 / ZoomCommand

Class: ZoomCommand

Zoom command.

Example

viewer.executeCommand(new ZoomCommand( { mode: 0, factor: 0.5 }, { mode: 0, factor: 1.0 } ));

Implements

Table of contents

Constructors

Constructors

constructor

new ZoomCommand(zoom, prevZoom)

Parameters

Name Type Description
zoom ZoomSettings new zoom settings.
prevZoom ZoomSettings -