var visio = new Diagram("template.vst"); visio.Save("output.tiff", SaveFileFormat.TIFF);