How to catch event when z changes

310
0
10-18-2023 06:36 AM
BarbaraSchneider2
Occasional Contributor II

I want to catch the event when z changes (when I scroll the mouse wheel) in the Stereo Map. In ArcMap, I used the following code in a ToolControl:

((IEditEvents2_Event)_editor).OnCurrentZChanged += OnCurrentZChanged

How can I achieve this in ArcGIS Pro? I tried the following method in a MapTool, but this only reacts when x and/or y change:

protected override async void OnToolMouseMove(MapViewMouseEventArgs e)

Any help is appreciated!

 

Tags (3)
0 Kudos
0 Replies