Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines the location on the map associated with a point on the viewport.
Namespace: Microsoft.Maps.MapControl.WPF
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)
Syntax
public bool TryLocationToViewportPoint(
Location location,
out Point viewportPoint
)
public:
bool TryLocationToViewportPoint(
Location^ location,
[OutAttribute] Point% viewportPoint
)
member TryLocationToViewportPoint :
location:Location *
viewportPoint:Point byref -> bool
Public Function TryLocationToViewportPoint (
location As Location,
<OutAttribute> ByRef viewportPoint As Point
) As Boolean
Parameters
location
Type: Microsoft.Maps.MapControl.WPF.LocationThe location on the map.
viewportPoint
Type: System.Windows.PointThe viewport point.
Return Value
Type: System.Boolean
Returns Boolean.
See Also
MapCore Class
Microsoft.Maps.MapControl.WPF Namespace
Return to top