IMapMouseToGeo Method (MouseEventArgs, String) |
Converts the click point of the mouse event to a geographic point corresponding to the given
spatial reference id. The click point of the mouse is determined relative to the map.
Namespace:
Ptv.XServer.Controls.Map
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax Point MouseToGeo(
MouseEventArgs e,
string spatialReferenceId
)
Function MouseToGeo (
e As MouseEventArgs,
spatialReferenceId As String
) As Point
Point MouseToGeo(
MouseEventArgs^ e,
String^ spatialReferenceId
)
abstract MouseToGeo :
e : MouseEventArgs *
spatialReferenceId : string -> Point
Parameters
- e
- Type: System.Windows.InputMouseEventArgs
The mouse event args to convert. - spatialReferenceId
- Type: SystemString
The spatial reference identifier.
Return Value
Type:
Point The point in geographical units.
See Also