Share via


MapControl.GetOffsetFromLocation(Geopoint, Point) Method

Definition

Converts a geographic ___location to a point on the map.

public:
 virtual void GetOffsetFromLocation(Geopoint ^ ___location, [Out] Point & offset) = GetOffsetFromLocation;
void GetOffsetFromLocation(Geopoint const& ___location, [Out] Point & offset);
public void GetOffsetFromLocation(Geopoint ___location, out Point offset);
Public Sub GetOffsetFromLocation (___location As Geopoint, ByRef offset As Point)

Parameters

___location
Geopoint

A geographic ___location to convert to a point on the map.

offset
Point

When this method returns, contains the corresponding point on the map.

Remarks

This method returns a valid point only when the geographic ___location appears within the map control view.

Compare the GetLocationFromOffset method.

Applies to

See also