ASP.NET Pack Programmer's Guide
Diagram.setAutoScroll Method
See Also
 





Sets a value indicating whether auto scrolling of the document area is enabled.

Namespace: MindFusion.Diagramming
Package: Diagram.js

 Syntax

JavaScript  Copy Code

function setAutoScroll (value)

 Parameters

value
true if the diagram should scroll automatically; otherwise, false. The default value is false.

 Remarks

If enabled, the control will scroll its content automatically when the user drags the mouse near the viewport edges. This works only if the diagram is placed inside a DIV whose overflow attribute is set to scroll or auto.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace
Bounds Property
AutoResize Property