DocumentScalerTDoZoom Method
Zooms a document according to the requested parameters.
Namespace: SMath.ControlsAssembly: SMath.Controls (in SMath.Controls.dll) Version: 1.2.9018.0
public void DoZoom(
float factor,
float focusX,
float focusY,
RectangleF viewBounds,
bool doubleTap
)
Public Sub DoZoom (
factor As Single,
focusX As Single,
focusY As Single,
viewBounds As RectangleF,
doubleTap As Boolean
)
public:
void DoZoom(
float factor,
float focusX,
float focusY,
RectangleF viewBounds,
bool doubleTap
)
member DoZoom :
factor : float32 *
focusX : float32 *
focusY : float32 *
viewBounds : RectangleF *
doubleTap : bool -> unit
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.