Click or drag to resize

ZoomPanelZoomAndTranslateToCenterRelative Method

Zooms and translates the content of ZoomPanel so that the mouseNewCenterPoint is shown in the center of ZoomPanel. newRelativeCenterPoint 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
Syntax
C#
public void ZoomAndTranslateToCenterRelative(
	double zoomFactor,
	Point newRelativeCenterPoint
)

Parameters

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