Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

RtfSaveOptionsFluent

OfficeIMO.Rtf

Namespace
OfficeIMO.Rtf
Assembly
OfficeIMO.Rtf
Modifiers
static

The fluent methods of RtfSaveOptions, 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
  • RtfSaveOptionsFluent

Methods

public static RtfSaveOptions DefaultFontName(RtfSaveOptions rtfSaveOptions, string value) #

Sets RtfSaveOptions.DefaultFontName: Default font name used when the document has no fonts.

Parameters

rtfSaveOptions OfficeIMO.Rtf.RtfSaveOptions required
The instance.
value string required
The value.

Returns

RtfSaveOptions The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Rtf.RtfSaveOptions { DefaultFontName = value };    rtfSaveOptions.DefaultFontName(value);
public static RtfSaveOptions IncludeGenerator(RtfSaveOptions rtfSaveOptions, bool value = true) #

Sets RtfSaveOptions.IncludeGenerator: Whether to emit a generator group from document metadata or the OfficeIMO default.

Parameters

rtfSaveOptions OfficeIMO.Rtf.RtfSaveOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

RtfSaveOptions The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Rtf.RtfSaveOptions { IncludeGenerator = value };    rtfSaveOptions.IncludeGenerator(value);
public static RtfSaveOptions IncludeHtmlEncapsulation(RtfSaveOptions rtfSaveOptions, bool value = true) #

Sets RtfSaveOptions.IncludeHtmlEncapsulation: Whether to emit an available Outlook/Exchange HTML encapsulation payload.

Parameters

rtfSaveOptions OfficeIMO.Rtf.RtfSaveOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

RtfSaveOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Rtf.RtfSaveOptions { IncludeHtmlEncapsulation = value };    rtfSaveOptions.IncludeHtmlEncapsulation(value);
public static RtfSaveOptions MaterializeStyleFormatting(RtfSaveOptions rtfSaveOptions, bool value = true) #

Sets RtfSaveOptions.MaterializeStyleFormatting: Writes effective style formatting as body controls for native readers that require explicit formatting. The source model is unchanged; reopening the output materializes inherited formatting as direct values.

Parameters

rtfSaveOptions OfficeIMO.Rtf.RtfSaveOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

RtfSaveOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Rtf.RtfSaveOptions { MaterializeStyleFormatting = value };    rtfSaveOptions.MaterializeStyleFormatting(value);