public static void Run()
{
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_PresentationSaving();
// Create directory if it is not already present.
bool IsExists = System.IO.Directory.Exists(dataDir);
if (!IsExists)
System.IO.Directory.CreateDirectory(dataDir);
// Instantiate a Presentation object that represents a PPT file
Presentation presentation= new Presentation();
//...do some work here...
// Save your presentation to a file
presentation.Save(dataDir + "Saved_out.pptx", Aspose.Slides.Export.SaveFormat.Pptx);
}
}