public static void Run()
{
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_Conversion();
// Instantiate a Presentation object that represents a presentation file
Presentation presentation = new Presentation(dataDir + "ConvertToPDF.pptx");
// Save the presentation to PDF with default options
presentation.Save(dataDir + "output_out.pdf", SaveFormat.Pdf);
}
}