wpfxamlsnapstodevicepixels

SnapsToDevicePixels, UseLayoutRounding and BitmapScalingMode seems not to work


when im programming with Visual Studio C# 2010 on WPF, some Text is very unclear, regardless of setting SnapsToDevicePixels to true, UseLayoutRounding to true and BitmapScalingMode to HighQuality. You can see the Problem in the image...

https://i.sstatic.net/WXPAF.png

Anyone got an idea how to fix it?


Solution

  • You can try to use TextOptions.TextFormattingMode. MSDN reference.