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