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





Gets a value indicating whether the diagram items should be aligned to a grid.

Namespace: MindFusion.Diagramming
Package: Diagram.js

 Syntax

JavaScript  Copy Code

function getAlignToGrid ()

 Return Value

true if the diagram items should be aligned to a grid; otherwise, false.

 Remarks

When the property is set to true, the sides of every newly created diagram item are aligned to the nearest grid points.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace