copy map to clipboard in Engine

616
1
12-05-2013 08:20 AM
LesleyRoddam
New Contributor
I want the user to be able to copy the current map (from AxMapControl1 or AxPageLayoutControl1) to the clipboard.
The IClipboardFormat2 interface CopyMap method looks for IMxDocument, but I don't know how to get that in Engine.
Can anyone help? Thanks!
0 Kudos
1 Reply
BrentHoskisson
Occasional Contributor III
You are correct.  You cannot access ArcMapUI objects from ArcEngine.  It takes a whole other license.   If you specify what you are saving and where you expect to paste it to we might be more help.

If you are trying to save graphics, all graphic elements implement IPersistStream which has a Save and Load function.  But you can only load to the same type of graphics element.

Good Luck
0 Kudos