Gets a value indicating whether the diagram items should be aligned to a grid.
Namespace: MindFusion.Diagramming
Package: Diagram.js
JavaScript Copy Code |
---|
function getAlignToGrid () |
true if the diagram items should be aligned to a grid; otherwise, false.
When the property is set to true, the sides of every newly created diagram item are aligned to the nearest grid points.