VintaSoft Imaging .NET SDK 15.2: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebImageViewerJS type / zoomChanged Event
Syntax BrowserCompatibility SeeAlso
In This Topic
zoomChanged Event (WebImageViewerJS)
In This Topic
Occurs when zoom is changed.
Syntax
var instance; // Type: WebImageViewerJS
instance.zoomChanged = function(event) { }

Parameters

event
Object that contains information about event. Object has the following properties:
  • target (object): An object that raised the event.
  • type (string): Event name.
  • data (object): An object that contains data, which were specified when subscribing to the event.
  • originalEvent (object): Original event if event was received from DOM-element.
eventArgs
Object that contains event arguments. Object has the following properties:
  • zoom (number): New zoom.
  • differenceScale (object): Ratio between old and new zoom.
  • scroll (object): Position of scrollbars.
Browser Compatibility
56+
45+
11
See Also