0 Replies Latest reply on Sep 18, 2014 7:06 AM by Christian Pauschert

    LoadStoredDisplay  C#

    Christian Pauschert

      I would like to load a stored display programmatically. It is stored in MM_SYSTEM_STORED_DISPLAYS table. If I use the display name like this the software does not find it (StoredDisplayNotFoundException):

       

       

      IMMStoredDisplayName _mmDisplayName = new MMStoredDisplayNameClass();

       

      mmDisplayName.Name = "Display Name";

      IMapControlHost _mapControlHost = (IMapControlHost)MainApp.MainWin.ActiveMdiChild;

       

      _mapControlHost.LoadStoredDisplay(_mmDisplayName);

       

      What am I doing wrong?