RtfLoadOptionsFluent
OfficeIMO.Rtf
The fluent methods of RtfLoadOptions, 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
- RtfLoadOptionsFluent
Methods
public static RtfLoadOptions DeferBinaryPayloads(RtfLoadOptions rtfLoadOptions, bool value = true) #Sets RtfLoadOptions.DeferBinaryPayloads: Retains binary source slices and defers picture/object byte materialization until explicit native access or save. Default: false.
Parameters
- rtfLoadOptions OfficeIMO.Rtf.RtfLoadOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfLoadOptions { DeferBinaryPayloads = value }; rtfLoadOptions.DeferBinaryPayloads(value);public static RtfLoadOptions HyperlinkPolicy(RtfLoadOptions rtfLoadOptions, RtfHyperlinkReadPolicy value) #Sets RtfLoadOptions.HyperlinkPolicy: Controls hyperlink field targets materialized in the semantic model.
Parameters
- rtfLoadOptions OfficeIMO.Rtf.RtfLoadOptions
- The instance.
- value OfficeIMO.Rtf.RtfHyperlinkReadPolicy
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfLoadOptions { HyperlinkPolicy = value }; rtfLoadOptions.HyperlinkPolicy(value);public static RtfLoadOptions Limits(RtfLoadOptions rtfLoadOptions, RtfReadLimits value) #Sets RtfLoadOptions.Limits: Resource budgets applied by the tokenizer, syntax parser and semantic binder.
Parameters
- rtfLoadOptions OfficeIMO.Rtf.RtfLoadOptions
- The instance.
- value OfficeIMO.Rtf.RtfReadLimits
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfLoadOptions { Limits = value }; rtfLoadOptions.Limits(value);public static RtfLoadOptions Limits(RtfLoadOptions rtfLoadOptions, Action<RtfReadLimits> configure) #Configures RtfLoadOptions.Limits in place (creating it when not set): Resource budgets applied by the tokenizer, syntax parser and semantic binder.
Parameters
- rtfLoadOptions OfficeIMO.Rtf.RtfLoadOptions
- The instance.
- configure System.Action<OfficeIMO.Rtf.RtfReadLimits>
- Configures the value.
public static RtfLoadOptions ReadEmbeddedObjects(RtfLoadOptions rtfLoadOptions, bool value = true) #Sets RtfLoadOptions.ReadEmbeddedObjects: Whether OLE object destinations are materialized in the semantic model.
Parameters
- rtfLoadOptions OfficeIMO.Rtf.RtfLoadOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfLoadOptions { ReadEmbeddedObjects = value }; rtfLoadOptions.ReadEmbeddedObjects(value);public static RtfLoadOptions ReadFileReferences(RtfLoadOptions rtfLoadOptions, bool value = true) #Sets RtfLoadOptions.ReadFileReferences: Whether file-table destinations are materialized in the semantic model.
Parameters
- rtfLoadOptions OfficeIMO.Rtf.RtfLoadOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfLoadOptions { ReadFileReferences = value }; rtfLoadOptions.ReadFileReferences(value);public static RtfLoadOptions WarnOnUnsupportedCodePages(RtfLoadOptions rtfLoadOptions, bool value = true) #Sets RtfLoadOptions.WarnOnUnsupportedCodePages: Whether unsupported ANSI code pages should produce warning diagnostics before falling back to Windows-1252.
Parameters
- rtfLoadOptions OfficeIMO.Rtf.RtfLoadOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfLoadOptions { WarnOnUnsupportedCodePages = value }; rtfLoadOptions.WarnOnUnsupportedCodePages(value);public static RtfLoadOptions WarnOnUnsupportedDestinations(RtfLoadOptions rtfLoadOptions, bool value = true) #Sets RtfLoadOptions.WarnOnUnsupportedDestinations: Whether unsupported destinations should produce warning diagnostics.
Parameters
- rtfLoadOptions OfficeIMO.Rtf.RtfLoadOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfLoadOptions { WarnOnUnsupportedDestinations = value }; rtfLoadOptions.WarnOnUnsupportedDestinations(value);