MindFusion.Wpf Pack Programmer's Guide
Diagram.GridPatternThreshold Property
See Also
 





Gets or sets the distance between grid points (in pixels) that triggers drawing using GridPatternHatch.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public double GridPatternThreshold { get; set; }

Visual Basic  Copy Code

Public Property GridPatternThreshold As Double

 Property Value

A number specifying distance between zoomed grid points. The default value is 3.

 Remarks

GridPatternHatch is used to draw the alignment grid when its pixels get closer than GridPatternThreshold value due to small ZoomFactor. This improves diagram's rendering speed at low zoom levels without having to hide the grid altogether.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming.Wpf Namespace
ShowGrid Property