WordSaveOptions
OfficeIMO.Word
Optional behaviors applied during Word document save operations.
Inheritance
- object
- WordSaveOptions
Usage
Explore 8 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property WordSaveOptions.Default
Accepted by parameters 7
- Method WordDocument.AssessLegacyDocWrite
- Method WordDocument.ExportFlatOpc
- Method WordDocument.Save
- Method WordDocument.SaveAsync
- Method WordDocument.SaveCopy
- Method WordDocument.SaveCopyAsync
- Method WordDocument.ToBytes
Constructors
public WordSaveOptions() #Inherited Methods
Properties
public bool AllowLoss { get; set; } #Controls saves of documents projected from legacy DOC files when known legacy-only content cannot be represented by the selected output format. The default blocks the save.
public WordFileFormat Format { get; set; } #Physical DOCX or DOC format for streams and byte output. Paths select their native format by extension.
public string? Password { get; set; } #Output password. An explicitly assigned null removes encryption; an unset value preserves loaded encryption.
public OfficeSignatureMutationPolicy SignatureMutationPolicy { get; set; } #Gets or sets how saving handles digital signatures that rewriting the document would invalidate. The default blocks the save.
public static WordSaveOptions Default { get; } #Returns an options instance with default save behavior.