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

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

属性

适用于

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

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

属性

适用于