DocuVieware Reference Guide
RegisterOnZoomChanged
Reference Guides > JavaScript API > Events > RegisterOnZoomChanged
 RegisterOnZoomChanged

This function allows you trigger a function of your own when the zoom change event is fired.

RegisterOnZoomChanged: function (docuViewareID, callback)

Parameters

docuViewareID
The identifier for the DocuVieware™ instance.
callback
The function you want to execute on event.

Return Value

1 if error.