Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordSaveOptionsFluent

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
static

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 required
The instance.
value bool = true optional
The value; true when omitted.

Returns

WordSaveOptions The same instance.

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 required
The instance.
value OfficeIMO.Word.WordFileFormat required
The value.

Returns

WordSaveOptions The same instance.

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 required
The instance.
value string? required
The value.

Returns

WordSaveOptions The same instance.

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 required
The instance.
value OfficeIMO.OfficeSignatureMutationPolicy required
The value.

Returns

WordSaveOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Word.WordSaveOptions { SignatureMutationPolicy = value };    wordSaveOptions.SignatureMutationPolicy(value);