MapControl.GetOffsetFromLocation(Geopoint, Point) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.