MapMouseToGeo 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 public Point MouseToGeo(
MouseEventArgs e,
string spatialReferenceId
)
Public Function MouseToGeo (
e As MouseEventArgs,
spatialReferenceId As String
) As Point
public:
virtual Point MouseToGeo(
MouseEventArgs^ e,
String^ spatialReferenceId
) sealed
abstract MouseToGeo :
e : MouseEventArgs *
spatialReferenceId : string -> Point
override 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.
Implements
IMapMouseToGeo(MouseEventArgs, String)See Also