Share via


MapCore.TryViewportPointToLocation Method (Point, Location)

 

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.dll)

Syntax

public bool TryViewportPointToLocation(
    Point viewportPoint,
    out Location location
)
public:
bool TryViewportPointToLocation(
    Point viewportPoint,
    [OutAttribute] Location^% location
)
member TryViewportPointToLocation : 
        viewportPoint:Point *
        location:Location byref -> bool
Public Function TryViewportPointToLocation (
    viewportPoint As Point,
    <OutAttribute> ByRef location As Location
) As Boolean

Parameters

Return Value

Type: System.Boolean

Returns Boolean if the point was successfully converted to a point on the map.

See Also

MapCore Class
Microsoft.Maps.MapControl.WPF Namespace

Return to top