public static void Run()
{
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_Conversion();
// Instantiate a Presentation object that represents a presentation file
using (Presentation presentation = new Presentation(dataDir + "DemoFile.pptx"))
{
// Saving the presentation to TIFF document
presentation.Save(dataDir + "Tiffoutput_out.tiff", SaveFormat.Tiff);
}
}
}