IPresentationInfoUpdateDocumentProperties Method

Updates properties of binded presentation.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.6.0.0 (21.6)
Syntax
void UpdateDocumentProperties(
	IDocumentProperties documentProperties
)

Parameters

documentProperties
Type: Aspose.SlidesIDocumentProperties
Document properties IDocumentProperties
Examples
This sample shows how to call the UpdateDocumentProperties(IDocumentProperties) 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