Hi, I have to write a code in c# on Pan event of Arcgis. Can anyone suggest how to do it C#?
Try this: IActiveViewEvents.AfterDraw Event (ArcObjects .NET 10.1 SDK)
You must keep the old extent in order to understand if it was changed.
Thanks, Problem has been resolved using...
ITransformEvents_Event MyEvent =(ITransformEvents_Event) ((IMxDocument)doc).ActiveView.ScreenDisplay.DisplayTransformation;
MyEvent.VisibleBoundsUpdated += new ITransformEvents_VisibleBoundsUpdatedEventHandler(OnVisisbleBoundsChanged);
((IGlobeDisplayEvents_Event)m_globeDisplay).AfterDraw += new IGlobeDisplayEvents_AfterDrawEventHandler(OnAfterDraw);
private void OnVisisbleBoundsChanged(object sender, Boolean result)
No the other thing...One application give me the coordinates and I have to jump to those coordinaes in ArcGis. Do you have idea?
Retrieving data ...