IPresentationInfoUpdateDocumentProperties Method

Updates properties of binded presentation.

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

Parameters

documentProperties
Type: Aspose.SlidesIDocumentProperties
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