SaveOptions.UpdateLastSavedTimeProperty
SaveOptions UpdateLastSavedTimeProperty property. Gets or sets a value determining whether the Last Saved Time builtin document property is updated before saving.
SaveOptions.UpdateLastSavedTimeProperty property
Gets or sets a value determining whether the Last Saved Time built-in document property is updated before saving.
public bool UpdateLastSavedTimeProperty { get; set; }
Examples
Shows how to instruct Wordize to update created, last printed and last saved properties.
OoxmlSaveOptions saveOptions = new OoxmlSaveOptions();
saveOptions.UpdateCreatedTimeProperty = true;
saveOptions.UpdateLastPrintedProperty = true;
saveOptions.UpdateLastSavedTimeProperty = true;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "SaveOptions.UpdateProperties.docx", saveOptions)
.Execute();
See Also
- class SaveOptions
- namespace Wordize.Saving
- assembly Wordize