MapCore.TryViewportPointToLocation Method (Point, Location)
Bing
Attempts to convert a viewport point to a location on a map.
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)
Parameters
- viewportPoint
-
Type:
System.Windows.Point
A viewport coordinate.
- location
-
Type:
Microsoft.Maps.MapControl.WPF.Location
Location on the map the corresponds to the viewport point.
Return Value
Type: System.BooleanReturns Boolean if the point was successfully converted to a point on the map.
Show: