WordSaveOptionsFluent
OfficeIMO.Word
The fluent methods of WordSaveOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- WordSaveOptionsFluent
Methods
public static WordSaveOptions AllowLoss(WordSaveOptions wordSaveOptions, bool value = true) #Sets WordSaveOptions.AllowLoss: 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.
Parameters
- wordSaveOptions OfficeIMO.Word.WordSaveOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordSaveOptions { AllowLoss = value }; wordSaveOptions.AllowLoss(value);public static WordSaveOptions Format(WordSaveOptions wordSaveOptions, WordFileFormat value) #Sets WordSaveOptions.Format: Physical DOCX or DOC format for streams and byte output. Paths select their native format by extension.
Parameters
- wordSaveOptions OfficeIMO.Word.WordSaveOptions
- The instance.
- value OfficeIMO.Word.WordFileFormat
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordSaveOptions { Format = value }; wordSaveOptions.Format(value);public static WordSaveOptions Password(WordSaveOptions wordSaveOptions, string? value) #Sets WordSaveOptions.Password: Output password. An explicitly assigned null removes encryption; an unset value preserves loaded encryption.
Parameters
- wordSaveOptions OfficeIMO.Word.WordSaveOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordSaveOptions { Password = value }; wordSaveOptions.Password(value);public static WordSaveOptions SignatureMutationPolicy(WordSaveOptions wordSaveOptions, OfficeSignatureMutationPolicy value) #Sets WordSaveOptions.SignatureMutationPolicy: Gets or sets how saving handles digital signatures that rewriting the document would invalidate. The default blocks the save.
Parameters
- wordSaveOptions OfficeIMO.Word.WordSaveOptions
- The instance.
- value OfficeIMO.OfficeSignatureMutationPolicy
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordSaveOptions { SignatureMutationPolicy = value }; wordSaveOptions.SignatureMutationPolicy(value);