Select to view content in your preferred language

Read mxd file as IVariantStream

539
0
01-02-2024 12:52 PM
Usev
by
New Contributor

Hello!

I have an extension for ArcMap 10.2. The extension implements IPersistVariant interface. I need to call this extension's class methods directly from my code.

I called the startup method passing IApplication as a parameter.

I got IApplication like this:

 

 

var doc = new MxDocumnet(); 
var app = doc.Parent;

 

 

Next I need to call the Load method by passing IVariantStream.

How do I get IVariantStream from a mxd file?

Tags (1)
0 Kudos
0 Replies