MagnifierMouseTool Constructor (Size, MouseToolBehavior, Double, Pen) |
Creates a new instance of MagnifierMouseTool at the specified size and magnification.
Namespace:
Atalasoft.Imaging.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public MagnifierMouseTool(
Size size,
MouseToolBehavior toolBehavior,
double magnification,
Pen pen
)
Public Sub New (
size As Size,
toolBehavior As MouseToolBehavior,
magnification As Double,
pen As Pen
)
Parameters
- size
- Type: System.WindowsSize
The size of the magnifier. - toolBehavior
- Type: Atalasoft.Imaging.WpfMouseToolBehavior
Indicates whether the magnifier will use the click-and-drag or two-click method.
- magnification
- Type: SystemDouble
The magnification to apply. - pen
- Type: System.Windows.MediaPen
The pen used to outline the magnifier.
See Also