共用方式為


ScrollView.ZoomTo 方法

定義

多載

ZoomTo(Single, IReference<Vector2>)

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

ZoomTo(Single, IReference<Vector2>, ScrollingZoomOptions)

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

ZoomTo(Single, IReference<Vector2>)

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

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

參數

zoomFactor
Single

float

調整內容的數量。

centerPoint

IReference<Vector2>

Nullable<Vector2>

IReference<float2>

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

傳回

Int32

int

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

屬性

適用於

ZoomTo(Single, IReference<Vector2>, ScrollingZoomOptions)

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

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

參數

zoomFactor
Single

float

調整內容的數量。

centerPoint

IReference<Vector2>

Nullable<Vector2>

IReference<float2>

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

options
ScrollingZoomOptions

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

傳回

Int32

int

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

屬性

適用於