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 + "ConvertWithNoteToTiff.pptx"))
{
// Saving the presentation to TIFF notes
pres.Save(dataDir + "TestNotes_out.tiff", SaveFormat.TiffNotes);
}
}
}