Search
Diagram.GridPatternThreshold Property
See Also
 





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

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public float GridPatternThreshold { get; set; }

Visual Basic  Copy Code

Public Property GridPatternThreshold As Single

 Property Value

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

 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