public static void Run()
{
// For complete examples and data files, please go to https:// Github.com/aspose-slides/Aspose.Slides-for-.NET
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_PresentationProperties();
// read the info of presentation
IPresentationInfo info = PresentationFactory.Instance.GetPresentationInfo(dataDir + "ModifyBuiltinProperties1.pptx");
// obtain the current properties
IDocumentProperties props = info.ReadDocumentProperties();
// set the new values of Author and Title fields
props.Author = "New Author";
props.Title = "New Title";
// update the presentation with a new values
info.UpdateDocumentProperties(props);
info.WriteBindedPresentation(dataDir + "ModifyBuiltinProperties1.pptx");
}
}