ScrollView.ZoomBy 方法

定義

多載

ZoomBy(Single, IReference<Vector2>, ScrollingZoomOptions)

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

ZoomBy(Single, IReference<Vector2>)

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

ZoomBy(Single, IReference<Vector2>, ScrollingZoomOptions)

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

C#
[Windows.Foundation.Metadata.Overload("ZoomByWithOptions")]
public int ZoomBy(float zoomFactorDelta, System.Nullable<Vector2> centerPoint, ScrollingZoomOptions options);

參數

zoomFactorDelta
Single

要變更縮放因數的量。

centerPoint

Nullable<Vector2>

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

options
ScrollingZoomOptions

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

傳回

Int32

用來將這個方法呼叫與對應事件產生關聯的相互關聯標識符。

屬性

適用於

Windows App SDK 1.6 及其他版本
產品 版本
Windows App SDK 1.4, 1.5, 1.6

ZoomBy(Single, IReference<Vector2>)

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

C#
[Windows.Foundation.Metadata.Overload("ZoomBy")]
public int ZoomBy(float zoomFactorDelta, System.Nullable<Vector2> centerPoint);

參數

zoomFactorDelta
Single

要變更縮放因數的量。

centerPoint

Nullable<Vector2>

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

傳回

Int32

用來將這個方法呼叫與對應事件產生關聯的相互關聯標識符。

屬性

適用於

Windows App SDK 1.6 及其他版本
產品 版本
Windows App SDK 1.4, 1.5, 1.6