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

MapCore.TryViewportPointToLocation Method

Bing
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
)

Parameters

viewportPoint

A viewport coordinate.

location

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
Show:
© 2014 Microsoft. All rights reserved.