Creating a layout outside ArcMap, standalone C# program.

Discussion created by cpicciri on Aug 16, 2011
I am converting a standalone application from VBA to C#. So far I've gotten the querying of data via spatial quieries and the populating of a database with the results working from outside of ArcMap. Now comes the last step, create a layout and export it out as a jpeg inside a loop that will create hundred of jpegs.

This is the first time I am attempting to do this and not sure how to start this. I have a template I need to use which already has standard elements in it, title, legend, border, etc. I've figured out how to load the template into IPageLayout and pass it to IMxDocument but not sure how to proceed from there.