AnsweredAssumed Answered

Map properties are not working

Question asked by sreerajan on Sep 29, 2014

Dear Friends,

I am adding the maps using the below code, the maps are adding in TOC but the map properties,and remove events are not working. please help me.

 

IMxDocument oMxdoc = (IMxDocument)m_application.Document;

IMap oMap = new MapClass();

oMxdoc.Maps.Add(oMap);

oMap.Name = "Testing";

oMxdoc.UpdateContents();

oMxdoc.ActiveView.Refresh();

 

 

Regards

Sreerajan P

Outcomes