MouseModeAPI.getX

 

string getX()

This method returns the x-coordinate of a selected location or point feature, after the client has synchronously called either setSelectLocationMode or setSelectPointFeatureMode, respectively. The returned string is valid only after isSynchronousOpComplete returns TRUE.  The returned coordinate is in the Exchange Coordinate System if the map type (of the map in the view that was clicked) is NEMR or LLDG; otherwise (if the map type is NRMR), the coordinate is in the map's own non-registered coordinate system. (See Map Types).