AtalaImageViewerMouseTool Property |
Namespace: Atalasoft.Imaging.Wpf
<Window x:Class="WpfControlsDemo.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:atala="clr-namespace:Atalasoft.Imaging.Wpf;assembly=Atalasoft.dotImage.Wpf" Title="WPF Controls Demo" Height="565" Width="756" Background="White" > <Grid> <atala:AtalaImageViewer Name="Viewer"> <atala:AtalaImageViewer.MouseTool> <atala:MagnifierMouseTool Size="120,120" Magnification="2.0"> <atala:MagnifierMouseTool.Pen> <Pen Thickness="1"> <Pen.Brush> <SolidColorBrush Color="Black"/> </Pen.Brush> </Pen> </atala:MagnifierMouseTool.Pen> </atala:MagnifierMouseTool> </atala:AtalaImageViewer.MouseTool> </atala:AtalaImageViewer> </Grid> </Window>
Me.Viewer.MouseTool = New MagnifierMouseTool(New Size(120, 120), 2, New Pen(New SolidColorBrush(Colors.Black), 1))
this.Viewer.MouseTool = new MagnifierMouseTool(new Size(120, 120), 2, new Pen(new SolidColorBrush(Colors.Black), 1));