ASP.NET Pack Programmer's Guide
Diagram.AlignToGrid Property
See Also
 





Gets or sets a value indicating whether the diagram items is aligned to a grid.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public bool AlignToGrid { get; set; }

Visual Basic  Copy Code

Public Property AlignToGrid As Boolean

 Property Value

true if the grid is activated; otherwise, false. The default is true.

 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
ShowGrid Property
GridColor Property
GridSizeX Property
GridSizeY Property
AlignPointToGrid Method
AutoAlignNodes Property