Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* ivis is declared in XAML <Image x:Name="iVis" UseLayoutRounding="True" SnapsToDevicePixels="True" /> */
- iVis.Stretch = Stretch.None;
- RenderOptions.SetBitmapScalingMode(iVis, BitmapScalingMode.NearestNeighbor);
- RenderOptions.SetEdgeMode(iVis, EdgeMode.Aliased);
- VisualBitmapScalingMode = BitmapScalingMode.NearestNeighbor;
- iVis.Source = **** your bitmap source ****
Add Comment
Please, Sign In to add comment