Share via


ScrollView.ZoomBy Method

Definition

Overloads

ZoomBy(Single, IReference<Vector2>, ScrollingZoomOptions)

Asynchronously zooms by the specified delta amount with the specified animation and snap point modes.

ZoomBy(Single, IReference<Vector2>)

Asynchronously zooms by the specified delta amount with animations enabled and snap point respected.

ZoomBy(Single, IReference<Vector2>, ScrollingZoomOptions)

Asynchronously zooms by the specified delta amount with the specified animation and snap point modes.

/// [Windows.Foundation.Metadata.Overload("ZoomByWithOptions")]
int ZoomBy(float const& zoomFactorDelta, IReference<float2> const& centerPoint, ScrollingZoomOptions const& options);
[Windows.Foundation.Metadata.Overload("ZoomByWithOptions")]
public int ZoomBy(float zoomFactorDelta, System.Nullable<Vector2> centerPoint, ScrollingZoomOptions options);
function zoomBy(zoomFactorDelta, centerPoint, options)
Public Function ZoomBy (zoomFactorDelta As Single, centerPoint As Nullable(Of Vector2), options As ScrollingZoomOptions) As Integer

Parameters

zoomFactorDelta
Single

float

The amount by which to change the zoom factor.

centerPoint

IReference<Vector2>

Nullable<Vector2>

IReference<float2>

The center point of the zoom factor change.

options
ScrollingZoomOptions

Options that specify whether or not animations are enabled and snap points are respected.

Returns

Int32

int

A correlation ID number used to associate this method call with corresponding events.

Attributes

Applies to

ZoomBy(Single, IReference<Vector2>)

Asynchronously zooms by the specified delta amount with animations enabled and snap point respected.

public:
 virtual int ZoomBy(float zoomFactorDelta, IReference<float2> ^ centerPoint) = ZoomBy;
/// [Windows.Foundation.Metadata.Overload("ZoomBy")]
int ZoomBy(float const& zoomFactorDelta, IReference<float2> const& centerPoint);
[Windows.Foundation.Metadata.Overload("ZoomBy")]
public int ZoomBy(float zoomFactorDelta, System.Nullable<Vector2> centerPoint);
function zoomBy(zoomFactorDelta, centerPoint)
Public Function ZoomBy (zoomFactorDelta As Single, centerPoint As Nullable(Of Vector2)) As Integer

Parameters

zoomFactorDelta
Single

float

The amount by which to change the zoom factor.

centerPoint

IReference<Vector2>

Nullable<Vector2>

IReference<float2>

The center point of the zoom factor change.

Returns

Int32

int

A correlation ID number used to associate this method call with corresponding events.

Attributes

Applies to