MapCore::TryLocationToViewportPoint Method (Location^, Point%)

Bing
 

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)

public:
bool TryLocationToViewportPoint(
	Location^ location,
	[OutAttribute] Point% viewportPoint
)

Parameters

location
Type: Microsoft.Maps.MapControl.WPF::Location^

The location on the map.

viewportPoint
Type: System.Windows::Point%

The viewport point.

Return Value

Type: System::Boolean

Returns Boolean.

Return to top
Show: