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
C# Copy Code |
---|
public bool SnapMarksToPixels { get; set; } |
Visual Basic Copy Code |
---|
Public Property SnapMarksToPixels As Boolean |
true to align to device pixels, or false otherwise. The default value is false.
If you enable this property, apparent distances between division marks could vary by +/- one pixel depending on current screen resolution and zoom level.
WpfDiagram Programmer's Guide | © 2024 MindFusion |