MapControl.TryZoomToAsync(Double) 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.
public:
virtual IAsyncOperation<bool> ^ TryZoomToAsync(double zoomLevel) = TryZoomToAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryZoomToAsync(double const& zoomLevel);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryZoomToAsync(double zoomLevel);
function tryZoomToAsync(zoomLevel)
Public Function TryZoomToAsync (zoomLevel As Double) As IAsyncOperation(Of Boolean)
Parameters
- zoomLevel
-
Double
double
The final zoom level of the map, between 1 and 20.
Returns
Contains the results of the operation: true if the operation completed successfully; otherwise, false.
- Attributes
Remarks
See the remarks section of the TryZoomInAsync method.