When you save a Visio file you can save it as a certain type...i.e. drawing, stencil, template, XML drawing, XML template, etc. How do I set this parameter programatically ? When I save, it always defaults to drawing, but I need to save as XML drawing. The Save, SaveAs, and SaveAsEx methods don't give me an option to set this. Thanks in advance.