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
- 屬性