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 pres = new Presentation(dataDir + "Convert_Tiff_Default.pptx"))
{
// Saving the presentation to TIFF document
pres.Save(dataDir + "Tiff_out.tiff", SaveFormat.Tiff);
}
}
}