ScrollView.ZoomBy 方法   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 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<float2> 
缩放因子的中心点会发生变化。
- options
- ScrollingZoomOptions
指定是否启用动画和对齐点的选项。
返回
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<float2> 
缩放因子的中心点会发生变化。
返回
int
一个关联 ID 号,用于将此方法调用与相应的事件相关联。
- 属性