Share via


ScrollView.ZoomBy Methode

Definition

Überlädt

ZoomBy(Single, IReference<Vector2>, ScrollingZoomOptions)

Zoomt asynchron um den angegebenen Deltabetrag mit den angegebenen Animations- und Einrastpunktmodi.

ZoomBy(Single, IReference<Vector2>)

Zoomt asynchron um den angegebenen Deltabetrag, wobei Animationen aktiviert sind und der Einrastpunkt berücksichtigt wird.

ZoomBy(Single, IReference<Vector2>, ScrollingZoomOptions)

Zoomt asynchron um den angegebenen Deltabetrag mit den angegebenen Animations- und Einrastpunktmodi.

/// [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

Parameter

zoomFactorDelta
Single

float

Der Betrag, um den der Zoomfaktor geändert werden soll.

centerPoint

IReference<Vector2>

Nullable<Vector2>

IReference<float2>

Der Mittelpunkt des Zoomfaktors ändert sich.

options
ScrollingZoomOptions

Optionen, die angeben, ob Animationen aktiviert sind und Einrastpunkte berücksichtigt werden.

Gibt zurück

Int32

int

Eine Korrelations-ID, die verwendet wird, um diesen Methodenaufruf den entsprechenden Ereignissen zuzuordnen.

Attribute

Gilt für:

ZoomBy(Single, IReference<Vector2>)

Zoomt asynchron um den angegebenen Deltabetrag, wobei Animationen aktiviert sind und der Einrastpunkt berücksichtigt wird.

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

Parameter

zoomFactorDelta
Single

float

Der Betrag, um den der Zoomfaktor geändert werden soll.

centerPoint

IReference<Vector2>

Nullable<Vector2>

IReference<float2>

Der Mittelpunkt des Zoomfaktors ändert sich.

Gibt zurück

Int32

int

Eine Korrelations-ID, die verwendet wird, um diesen Methodenaufruf den entsprechenden Ereignissen zuzuordnen.

Attribute

Gilt für: