MindFusion.Diagramming for JavaScript Programmer's Guide

Diagram.setZoomFactorPivot Method

See Also
 





Sets the zoom factor, preserving the on-screen position of the specified diagram point.

Namespace: MindFusion.Diagramming
File: Diagram.js

 Syntax

JavaScript  Copy Code

function setZoomFactorPivot (zoomFactor, pivotPoint)

 Parameters

zoomFactor

The new zoom factor.

pivotPoint

A Point instance specifying the zoom center.

 See Also