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