MindFusion.Diagramming for JavaScript 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
File: 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