UpdateDocumentProperties
PresentationInfo.UpdateDocumentProperties method
Aktualisiert die Eigenschaften der gebundenen Präsentation.
public void UpdateDocumentProperties(IDocumentProperties documentProperties)
Beispiele
Dieses Beispiel zeigt, wie die aufgerufen wirdUpdateDocumentProperties
Methode to aktualisiert die Dokumenteigenschaften, die durch den Aufruf von zurückgegeben werdenReadDocumentProperties
Methode.
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");
Siehe auch
- interface IDocumentProperties
- class PresentationInfo
- namensraum Aspose.Slides
- Montage Aspose.Slides