Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

Dataframe event in page layout mode.

$
0
0
Hi all,

I try to get the event fired while I change activeview in pagelayout mode. In data mode, i use IDocumentEvents_ActiveViewChangedEventHandler and all works perfectly, but when i use pan or zoom (data mode operation) in pagelayout mode, this event not fire. I'm able to to get the pagelayout refresh event with ESRI.ArcGIS.Carto.IActiveViewEvents_Event and viewrefreshed function, but it's on demand, when user click on the refresh button. I want to do this automatically.

Private m_activeViewEvents As ESRI.ArcGIS.Carto.IActiveViewEvents_Event
m_activeViewEvents = CType(itfMxDocument.PageLayout, ESRI.ArcGIS.Carto.IActiveViewEvents_Event)
AddHandler m_activeViewEvents.ViewRefreshed, AddressOf m_pActiveViewEventsLayout_Change

I work with ArcGIS 9.3.1

thank you
N.B. I don't want event for pagelayout manipulation, i'm already able to get it.

Viewing all articles
Browse latest Browse all 1374

Trending Articles