ScrollPresenter.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

用于将此方法调用与相应事件关联的关联 ID 号。

属性

适用于

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

用于将此方法调用与相应事件关联的关联 ID 号。

属性

适用于