ScrollView.ZoomTo 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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.Experimental]
/// [Windows.Foundation.Metadata.Overload("ZoomTo")]
int ZoomTo(float const& zoomFactor, IReference<float2> const& centerPoint);
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Overload("ZoomTo")]
public int ZoomTo(float zoomFactor, System.Nullable<Vector2> centerPoint);
Public Function ZoomTo (zoomFactor As Single, centerPoint As Nullable(Of Vector2)) As Integer
参数
- zoomFactor
-
Single
float
- centerPoint
-
IReference<float2>
返回
Int32
int
- 属性
适用于
ZoomTo(Single, IReference<Vector2>, ScrollingZoomOptions)
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Overload("ZoomToWithOptions")]
int ZoomTo(float const& zoomFactor, IReference<float2> const& centerPoint, ScrollingZoomOptions const& options);
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Overload("ZoomToWithOptions")]
public int ZoomTo(float zoomFactor, System.Nullable<Vector2> centerPoint, ScrollingZoomOptions options);
Public Function ZoomTo (zoomFactor As Single, centerPoint As Nullable(Of Vector2), options As ScrollingZoomOptions) As Integer
参数
- zoomFactor
-
Single
float
- centerPoint
-
IReference<float2>
- options
- ScrollingZoomOptions
返回
Int32
int
- 属性