ZoomBy(Double, Double, Double) Method

Definition

Assembly Broadside.Viewer.dll

Multiplies the zoom by factor, keeping the page point under the anchor where it is.

public Viewport ZoomBy(double factor, double anchorX, double anchorY)

Parameters

factor
Double

The zoom factor (above 1 zooms in).

anchorX
Double

The anchor's viewport x (the pointer or the pinch centre).

anchorY
Double

The anchor's viewport y.

Returns

Viewport
The new viewport (also Viewport).

Remarks

Spec #33 viewer capability 2.