UpdateDocumentProperties
PresentationInfo.UpdateDocumentProperties method
Updates properties of binded presentation.
public void UpdateDocumentProperties(IDocumentProperties documentProperties)
Examples
This sample shows how to call the UpdateDocumentProperties method to update the document properties returned by call of the ReadDocumentProperties method.
IPresentationInfo info = PresentationFactory.Instance.GetPresentationInfo("pres.pptx");
IDocumentProperties props = info.ReadDocumentProperties();
props.Subject = "New subject";
props.LastSavedTime = DateTime.UtcNow;
info.UpdateDocumentProperties(props);
info.WriteBindedPresentation("new_pres.pptx");
See Also
- interface IDocumentProperties
- class PresentationInfo
- namespace Aspose.Slides
- assembly Aspose.Slides