MindFusion.Diagramming for JavaScript Programmer's Guide

Diagram.setShowGrid Method

See Also
 





Sets a value indicating whether the alignment grid is visible.

Namespace: MindFusion.Diagramming
File: Diagram.js

 Syntax

JavaScript  Copy Code

function setShowGrid (value)

 Parameters

value

true if the alignment grid is visible; otherwise, false.

 Remarks

If it is visible, the grid is painted as either a matrix of points orcrossing horizontal and vertical lines. That depends on the value of GridStyle.

 See Also