Click or drag to resize

ZoomPanelZoomAndTranslateToCenter Method

Zooms and translates the content of ZoomPanel so that the mouseNewCenterPoint is shown in the center of ZoomPanel. mouseNewCenterPoint is in absolute units.

Namespace:  Ab2d.Controls
Assembly:  Ab2d.Controls.ZoomPanel (in Ab2d.Controls.ZoomPanel.dll) Version: 5.2.6631.1040
Syntax
C#
public void ZoomAndTranslateToCenter(
	double zoomFactor,
	Point mouseNewCenterPoint
)

Parameters

zoomFactor
Type: SystemDouble
zoomFactor
mouseNewCenterPoint
Type: System.WindowsPoint
mouseNewCenterPoint
See Also