MindFusion.Wpf Pack Programmer's Guide
Ruler.SnapMarksToPixels Property
See Also
 





Gets or sets whether the ruler aligns scale division marks to device pixels for more crisp appearance.

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

 Syntax

C#  Copy Code

public bool SnapMarksToPixels { get; set; }

Visual Basic  Copy Code

Public Property SnapMarksToPixels As Boolean

 Property Value

true to align to device pixels, or false otherwise. The default value is false.

 Remarks

If you enable this property, apparent distances between division marks could vary by +/- one pixel depending on current screen resolution and zoom level.

 See Also

Ruler Members
Ruler Class
MindFusion.Diagramming.Wpf Namespace
Unit Property
MarkLength Property