MapControl.TryGetLocationFromOffset 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
| Name | Description |
|---|---|
| TryGetLocationFromOffset(Point, Geopoint) |
Windows.UI.Xaml.Controls.Maps.MapControl |
| TryGetLocationFromOffset(Point, AltitudeReferenceSystem, Geopoint) |
Windows.UI.Xaml.Controls.Maps.MapControl |
TryGetLocationFromOffset(Point, Geopoint)
Windows.UI.Xaml.Controls.Maps.MapControl
public bool TryGetLocationFromOffset(Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.Point offset, out Windows.Devices.Geolocation.Geopoint location);
member this.TryGetLocationFromOffset : Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.Point * Geopoint -> bool
Public Function TryGetLocationFromOffset (offset As Point, ByRef location As Geopoint) As Boolean
Parameters
- offset
- Point
- location
- Windows.Devices.Geolocation.Geopoint
Returns
bool
Applies to
TryGetLocationFromOffset(Point, AltitudeReferenceSystem, Geopoint)
Windows.UI.Xaml.Controls.Maps.MapControl
public bool TryGetLocationFromOffset(Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.Point offset, Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.AltitudeReferenceSystem desiredReferenceSystem, out Windows.Devices.Geolocation.Geopoint location);
member this.TryGetLocationFromOffset : Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.Point * Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.AltitudeReferenceSystem * Geopoint -> bool
Public Function TryGetLocationFromOffset (offset As Point, desiredReferenceSystem As AltitudeReferenceSystem, ByRef location As Geopoint) As Boolean
Parameters
- offset
- Point
- desiredReferenceSystem
- AltitudeReferenceSystem
- location
- Windows.Devices.Geolocation.Geopoint
Returns
bool