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
SyntaxC#
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.
RemarksIf you enable this property, apparent distances between division marks could vary by +/- one pixel depending on current screen resolution and zoom level.
See Also