FlatMapMode.LocationToViewportPoint Method (Location)

This documentation is no longer available on MSDN, however it is available as a CHM download.

Converts a location to a viewport point.

Namespace: Microsoft.Maps.MapControl.Core
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)



Public Overrides Function LocationToViewportPoint ( _
    location As Location _
) As Point
public override Point LocationToViewportPoint (
    Location location
virtual Point LocationToViewportPoint (
    Location^ location
) override
public Point LocationToViewportPoint (
    Location location
public override function LocationToViewportPoint (
    location : Location
) : Point


  • location
    The location to convert.

Return Value

Returns Point.

Thread Safety

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

See Also


FlatMapMode Class
FlatMapMode Members
Microsoft.Maps.MapControl.Core Namespace