MagnifierMouseTool Constructor (Geometry, MouseToolBehavior, Double, Pen) |
Creates a new instance of MagnifierMouseTool from a Geometry object.
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(
Geometry renderGeometry,
MouseToolBehavior toolBehavior,
double magnification,
Pen pen
)
Public Sub New (
renderGeometry As Geometry,
toolBehavior As MouseToolBehavior,
magnification As Double,
pen As Pen
)
Parameters
- renderGeometry
- Type: System.Windows.MediaGeometry
The Geometry object used to define the shape 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