ZoomPanelZoomAtRelativeMousePosition Method |
Zooms the content of ZoomPanel so that the mousePosition stays at the same location.
relativeMousePosition is in relative coordinates - (0.5, 0.5) is the center of ZoomPanel.
Namespace:
Ab2d.Controls
Assembly:
Ab2d.Controls.ZoomPanel (in Ab2d.Controls.ZoomPanel.dll) Version: 5.2.6631.1040
Syntaxpublic void ZoomAtRelativeMousePosition(
double zoomFactor,
Point relativeMousePosition
)
Parameters
- zoomFactor
- Type: SystemDouble
zoomFactor - relativeMousePosition
- Type: System.WindowsPoint
relativeMousePosition
See Also