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





Enables or disables virtual scroll mode.

Namespace: MindFusion.Diagramming
Package: Diagram.js

 Syntax

JavaScript  Copy Code

function setVirtualScroll (value)

 Parameters

value

true to enable virtual scroll; otherwise, false.

 Remarks

If this mode is enabled, the canvas stays as big as its containing div, and its content is drawn with a translation bound to the div's scrollbar positions. This allow displaying large diagrams in browsers and on mobile devices where the size of HTML canvas elements is limited.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace