AnsweredAssumed Answered

How to copy an IMap using C# ?

Question asked by taibc on Oct 6, 2012
Latest reply on Oct 9, 2012 by taibc
Hi friends,

I am having an IMap object on Form 1. This Imap (got from ActiveView.FocusMap()) includes elements that created by the statements:

IGraphicsContainer oGraphics = map as IGraphicsContainer;
oGraphics.AddElement(oElement, 0);

The Imap don't have layers.

Do you know how can I copy this Imap (its elements) to another Imap on another form (Form 2) ?

Thank you for your help !

Tai

Outcomes