public static void Run()
{
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_PresentationSaving();
// Opening the presentation file
Presentation presentation = new Presentation();
// Setting view type
presentation.ViewProperties.LastView = ViewType.SlideMasterView;
// Saving presentation
presentation.Save(dataDir + "SetViewType_out.pptx", Aspose.Slides.Export.SaveFormat.Pptx);
}
}