Gets or sets the distance between grid points (in pixels) that triggers drawing using GridPatternHatch.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public double GridPatternThreshold { get; set; } |
Visual Basic Copy Code |
---|
Public Property GridPatternThreshold As Double |
A number specifying distance between zoomed grid points. The default value is 3.
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.
WpfDiagram Programmer's Guide | © 2024 MindFusion |