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





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

Namespace: MindFusion.Diagramming
Package: Diagram.js

 Syntax

JavaScript  Copy Code

function setAlignToGrid (value)

 Parameters

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
setShowGrid Method
setGridStyle Method
setGridSizeX Method
setGridSizeY Method