Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

MapCore.TryViewportPointToLocation Method

Attempts to convert a viewport point to a location on a map.

Namespace: Microsoft.Maps.MapControl.WPF
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF)
Visual Basic
Dim instance As MapCore
Dim viewportPoint As Point
Dim location As Location
Dim returnValue As Boolean

returnValue = instance.TryViewportPointToLocation(viewportPoint, location)
public bool TryViewportPointToLocation (
	Point viewportPoint,
	out Location location



A viewport coordinate.


Location on the map the corresponds to the viewport point.

Return Value

Returns Boolean if the point was successfully converted to a point on the map.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.