共用方式為


ScrollView.ZoomBy 方法

定義

多載

ZoomBy(Single, IReference<Vector2>, ScrollingZoomOptions)

使用指定的動畫和貼齊點模式,以異步方式縮放指定的差異量。

ZoomBy(Single, IReference<Vector2>)

以指定的差異量以異步方式縮放,並啟用動畫並遵守貼齊點。

ZoomBy(Single, IReference<Vector2>, ScrollingZoomOptions)

使用指定的動畫和貼齊點模式,以異步方式縮放指定的差異量。

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

參數

zoomFactorDelta
Single

float

要變更縮放因數的量。

centerPoint

IReference<Vector2>

Nullable<Vector2>

IReference<float2>

縮放因數的中心點會變更。

options
ScrollingZoomOptions

指定是否啟用動畫和貼齊點的選項。

傳回

Int32

int

用來建立這個方法呼叫與對應事件的關聯標識碼。

屬性

適用於

ZoomBy(Single, IReference<Vector2>)

以指定的差異量以異步方式縮放,並啟用動畫並遵守貼齊點。

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

參數

zoomFactorDelta
Single

float

要變更縮放因數的量。

centerPoint

IReference<Vector2>

Nullable<Vector2>

IReference<float2>

縮放因數的中心點會變更。

傳回

Int32

int

用來建立這個方法呼叫與對應事件的關聯標識碼。

屬性

適用於