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 + "NotesFile.pptx"))
{
// Saving the presentation to PDF notes
presentation.Save(dataDir + "Pdf_Notes_out.tiff", SaveFormat.PdfNotes);
}
}
}