Is there a simple way to save the state of the Legend such as saving an MXD in Desktop? I have developed an app and can load layers such as shapefiles, tiffs, MPKs, and run GP tools that produce products that are also loaded into the TOC. I want to preserve the state when the app is closed, so that when the app is opened again, I want the user to be able to load a file such as an MXD so that all the layers can be loaded automatically based on this MXD-like file.
Hi Luke,
Why don't you save your configuration to the file on a hard drive and read it on the application startup?
Regards,
Adam
I figure I could just write the paths to the files in a simple text file and write a loader class to read the file and paths, determine the file types, and load them into the map window. I was hoping I was missing an existing built-in method that would alleviate more code writing. Hopefully the next version of Runtime will have things like this built in.