Click or drag to resize

ZoomPanelGetZoomFactor Method

Returns the zoom factor from the specified viewbox as Rect. The method can be overridden to provide custom zoom factor calculations - for example exponential.

Namespace:  Ab2d.Controls
Assembly:  Ab2d.Controls.ZoomPanel (in Ab2d.Controls.ZoomPanel.dll) Version: 5.2.6631.1040
Syntax
C#
public virtual double GetZoomFactor(
	Rect viewbox
)

Parameters

viewbox
Type: System.WindowsRect
viewbox as Rect

Return Value

Type: Double
zoom factor
See Also