MouseModeAPI.getKey

string getKey()

This method returns CARIS Key of the track within which, via mouse click, the user modified the highlighting state of a vertex or a segment, after the client has synchronously called setHighlightVertexMode or setHighlightSegmentMode, respectively.  The returned value is valid only after isSynchronousOpComplete returns TRUE.

To determine which vertex or segment was modified, call getItemIndex.  To determine whether highlighting was turned on or off, call getItemState.