ZoomToLevel(Double, Double, Double, Boolean) Method

Definition

Assembly PanAndZoom.dll

Zooms to a specific discrete level.

public void ZoomToLevel(double level, double centerX, double centerY, bool animate = true)

Parameters

level
Double

The zoom level to zoom to.

centerX
Double

The x-coordinate of the zoom center point.

centerY
Double

The y-coordinate of the zoom center point.

animate
Boolean

Whether to animate the transition.