RtfSaveOptionsFluent
OfficeIMO.Rtf
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
- The instance.
- value string
- The value.
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
- The instance.
- value bool = true
- The value; true when omitted.
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
- The instance.
- value bool = true
- The value; true when omitted.
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
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfSaveOptions { MaterializeStyleFormatting = value }; rtfSaveOptions.MaterializeStyleFormatting(value);