var visio = new Diagram("template.vsx"); visio.Save("output.svg", SaveFileFormat.SVG);