WordRtfExportOptionsFluent
OfficeIMO.Word.Rtf
The fluent methods of WordRtfExportOptions, 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
- WordRtfExportOptionsFluent
Methods
public static WordRtfExportOptions Encoding(WordRtfExportOptions wordRtfExportOptions, Encoding? value) #Sets WordRtfExportOptions.Encoding: Encoding used when the RTF is saved. Null uses the RTF writer default.
Parameters
- wordRtfExportOptions OfficeIMO.Word.Rtf.WordRtfExportOptions
- The instance.
- value System.Text.Encoding?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.Rtf.WordRtfExportOptions { Encoding = value }; wordRtfExportOptions.Encoding(value);public static WordRtfExportOptions FailOnLoss(WordRtfExportOptions wordRtfExportOptions, bool value = true) #Sets WordRtfExportOptions.FailOnLoss: Throws OfficeConversionException when the conversion reports loss.
Parameters
- wordRtfExportOptions OfficeIMO.Word.Rtf.WordRtfExportOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.Rtf.WordRtfExportOptions { FailOnLoss = value }; wordRtfExportOptions.FailOnLoss(value);public static WordRtfExportOptions SaveOptions(WordRtfExportOptions wordRtfExportOptions, RtfSaveOptions? value) #Sets WordRtfExportOptions.SaveOptions: RTF writer settings used when the converted document is saved.
Parameters
- wordRtfExportOptions OfficeIMO.Word.Rtf.WordRtfExportOptions
- The instance.
- value OfficeIMO.Rtf.RtfSaveOptions?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.Rtf.WordRtfExportOptions { SaveOptions = value }; wordRtfExportOptions.SaveOptions(value);public static WordRtfExportOptions SaveOptions(WordRtfExportOptions wordRtfExportOptions, Action<RtfSaveOptions> configure) #Configures WordRtfExportOptions.SaveOptions in place (creating it when not set): RTF writer settings used when the converted document is saved.
Parameters
- wordRtfExportOptions OfficeIMO.Word.Rtf.WordRtfExportOptions
- The instance.
- configure System.Action<OfficeIMO.Rtf.RtfSaveOptions>
- Configures the value.