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