DocumentScalerTDoZoom Method

Zooms a document according to the requested parameters.

Definition

Namespace: SMath.Controls
Assembly: SMath.Controls (in SMath.Controls.dll) Version: 1.2.9018.0
C#
public void DoZoom(
	float factor,
	float focusX,
	float focusY,
	RectangleF viewBounds,
	bool doubleTap
)

Parameters

factor  Single
Scaling factor.
focusX  Single
X coordinate of the focus position.
focusY  Single
Y coordinate of the focus position.
viewBounds  RectangleF
Canvas view bounds.
doubleTap  Boolean
Whether a request to zoom was initiated by double-tap user action.

See Also