ScrollView.ZoomBy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ZoomBy(Single, IReference<Vector2>, ScrollingZoomOptions) |
Asynchronously zooms by the specified delta amount with the specified animation and snap point modes. |
ZoomBy(Single, IReference<Vector2>) |
Asynchronously zooms by the specified delta amount with animations enabled and snap point respected. |
ZoomBy(Single, IReference<Vector2>, ScrollingZoomOptions)
Asynchronously zooms by the specified delta amount with the specified animation and snap point modes.
/// [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
Parameters
- zoomFactorDelta
-
Single
float
The amount by which to change the zoom factor.
- centerPoint
-
IReference<float2>
The center point of the zoom factor change.
- options
- ScrollingZoomOptions
Options that specify whether or not animations are enabled and snap points are respected.
Returns
int
A correlation ID number used to associate this method call with corresponding events.
- Attributes
Applies to
ZoomBy(Single, IReference<Vector2>)
Asynchronously zooms by the specified delta amount with animations enabled and snap point respected.
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
Parameters
- zoomFactorDelta
-
Single
float
The amount by which to change the zoom factor.
- centerPoint
-
IReference<float2>
The center point of the zoom factor change.
Returns
int
A correlation ID number used to associate this method call with corresponding events.
- Attributes