Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

RtfPdfExportOptionsFluent

OfficeIMO.Rtf.Pdf

Namespace
OfficeIMO.Rtf.Pdf
Assembly
OfficeIMO.Rtf.Pdf
Modifiers
static

The fluent methods of RtfPdfExportOptions, 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
  • RtfPdfExportOptionsFluent

Methods

public static RtfPdfExportOptions Configure(RtfPdfExportOptions rtfPdfExportOptions, Action<RtfPdfExportOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

rtfPdfExportOptions OfficeIMO.Rtf.Pdf.RtfPdfExportOptions required
The instance.
configure System.Action<OfficeIMO.Rtf.Pdf.RtfPdfExportOptions> required
Assignments applied in order.

Returns

RtfPdfExportOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Rtf.Pdf.RtfPdfExportOptions { ImageConverter = value };    rtfPdfExportOptions.Configure(configured => configured.ImageConverter = value);
public static RtfPdfExportOptions DefaultImageHeight(RtfPdfExportOptions rtfPdfExportOptions, double value) #

Sets RtfPdfExportOptions.DefaultImageHeight: Default image height in PDF points when the RTF image does not carry a desired height.

Parameters

rtfPdfExportOptions OfficeIMO.Rtf.Pdf.RtfPdfExportOptions required
The instance.
value double required
The value.

Returns

RtfPdfExportOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Rtf.Pdf.RtfPdfExportOptions { DefaultImageHeight = value };    rtfPdfExportOptions.DefaultImageHeight(value);
public static RtfPdfExportOptions DefaultImageWidth(RtfPdfExportOptions rtfPdfExportOptions, double value) #

Sets RtfPdfExportOptions.DefaultImageWidth: Default image width in PDF points when the RTF image does not carry a desired width.

Parameters

rtfPdfExportOptions OfficeIMO.Rtf.Pdf.RtfPdfExportOptions required
The instance.
value double required
The value.

Returns

RtfPdfExportOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Rtf.Pdf.RtfPdfExportOptions { DefaultImageWidth = value };    rtfPdfExportOptions.DefaultImageWidth(value);
public static RtfPdfExportOptions FailOnLoss(RtfPdfExportOptions rtfPdfExportOptions, bool value = true) #

Sets RtfPdfExportOptions.FailOnLoss: Rejects fidelity loss before returning PDF or writing its destination.

Parameters

rtfPdfExportOptions OfficeIMO.Rtf.Pdf.RtfPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

RtfPdfExportOptions The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Rtf.Pdf.RtfPdfExportOptions { FailOnLoss = value };    rtfPdfExportOptions.FailOnLoss(value);
public static RtfPdfExportOptions IncludeHeaderFooters(RtfPdfExportOptions rtfPdfExportOptions, bool value = true) #

Sets RtfPdfExportOptions.IncludeHeaderFooters: When true, semantic RTF header and footer paragraphs are mapped to PDF running content.

Parameters

rtfPdfExportOptions OfficeIMO.Rtf.Pdf.RtfPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

RtfPdfExportOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.Rtf.Pdf.RtfPdfExportOptions { IncludeHeaderFooters = value };    rtfPdfExportOptions.IncludeHeaderFooters(value);
public static RtfPdfExportOptions IncludeHiddenText(RtfPdfExportOptions rtfPdfExportOptions, bool value = true) #

Sets RtfPdfExportOptions.IncludeHiddenText: When true, RTF hidden runs are included in PDF output. Hidden text is skipped by default.

Parameters

rtfPdfExportOptions OfficeIMO.Rtf.Pdf.RtfPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

RtfPdfExportOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Rtf.Pdf.RtfPdfExportOptions { IncludeHiddenText = value };    rtfPdfExportOptions.IncludeHiddenText(value);
public static RtfPdfExportOptions IncludeImages(RtfPdfExportOptions rtfPdfExportOptions, bool value = true) #

Sets RtfPdfExportOptions.IncludeImages: When true, supported top-level and inline PNG/JPEG images are emitted to the PDF.

Parameters

rtfPdfExportOptions OfficeIMO.Rtf.Pdf.RtfPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

RtfPdfExportOptions The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Rtf.Pdf.RtfPdfExportOptions { IncludeImages = value };    rtfPdfExportOptions.IncludeImages(value);
public static RtfPdfExportOptions IncludeMetadata(RtfPdfExportOptions rtfPdfExportOptions, bool value = true) #

Sets RtfPdfExportOptions.IncludeMetadata: When true, RTF title, author, subject, and keywords are copied to PDF metadata.

Parameters

rtfPdfExportOptions OfficeIMO.Rtf.Pdf.RtfPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

RtfPdfExportOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Rtf.Pdf.RtfPdfExportOptions { IncludeMetadata = value };    rtfPdfExportOptions.IncludeMetadata(value);
public static RtfPdfExportOptions IncludeNotes(RtfPdfExportOptions rtfPdfExportOptions, bool value = true) #

Sets RtfPdfExportOptions.IncludeNotes: When true, footnote, endnote, and annotation bodies referenced by runs are appended to PDF output.

Parameters

rtfPdfExportOptions OfficeIMO.Rtf.Pdf.RtfPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

RtfPdfExportOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Rtf.Pdf.RtfPdfExportOptions { IncludeNotes = value };    rtfPdfExportOptions.IncludeNotes(value);
public static RtfPdfExportOptions IncludeTables(RtfPdfExportOptions rtfPdfExportOptions, bool value = true) #

Sets RtfPdfExportOptions.IncludeTables: When true, RTF tables are converted to PDF tables.

Parameters

rtfPdfExportOptions OfficeIMO.Rtf.Pdf.RtfPdfExportOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

RtfPdfExportOptions The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Rtf.Pdf.RtfPdfExportOptions { IncludeTables = value };    rtfPdfExportOptions.IncludeTables(value);
public static RtfPdfExportOptions MaximumSystemFontFamilies(RtfPdfExportOptions rtfPdfExportOptions, int value) #

Sets RtfPdfExportOptions.MaximumSystemFontFamilies: Maximum number of distinct RTF font families allowed to trigger installed-font resolution. Additional families use dependency-free PDF fallbacks. Set to zero to disable system-font probes.

Parameters

rtfPdfExportOptions OfficeIMO.Rtf.Pdf.RtfPdfExportOptions required
The instance.
value int required
The value.

Returns

RtfPdfExportOptions The same instance.

Examples

// C# initializer or property                                                               // C# fluent
new global::OfficeIMO.Rtf.Pdf.RtfPdfExportOptions { MaximumSystemFontFamilies = value };    rtfPdfExportOptions.MaximumSystemFontFamilies(value);
PdfOptions 2 overloads
public static RtfPdfExportOptions PdfOptions(RtfPdfExportOptions rtfPdfExportOptions, PdfCreateOptions? value) #

Sets RtfPdfExportOptions.PdfOptions: Optional PDF engine options. The converter clones the instance before applying RTF page setup.

Parameters

rtfPdfExportOptions OfficeIMO.Rtf.Pdf.RtfPdfExportOptions required
The instance.
value OfficeIMO.Pdf.PdfCreateOptions? required
The value.

Returns

RtfPdfExportOptions The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Rtf.Pdf.RtfPdfExportOptions { PdfOptions = value };    rtfPdfExportOptions.PdfOptions(value);
public static RtfPdfExportOptions PdfOptions(RtfPdfExportOptions rtfPdfExportOptions, Action<PdfCreateOptions> configure) #

Configures RtfPdfExportOptions.PdfOptions in place (creating it when not set): Optional PDF engine options. The converter clones the instance before applying RTF page setup.

Parameters

rtfPdfExportOptions OfficeIMO.Rtf.Pdf.RtfPdfExportOptions required
The instance.
configure System.Action<OfficeIMO.Pdf.PdfCreateOptions> required
Configures the value.

Returns

RtfPdfExportOptions The same instance.
ResourcePolicy 2 overloads
public static RtfPdfExportOptions ResourcePolicy(RtfPdfExportOptions rtfPdfExportOptions, PdfResourcePolicy value) #

Sets RtfPdfExportOptions.ResourcePolicy: Host-resource policy. Defaults to balanced conversion: system fonts and bounded in-source resources are allowed, while local and remote reads are denied.

Parameters

rtfPdfExportOptions OfficeIMO.Rtf.Pdf.RtfPdfExportOptions required
The instance.
value OfficeIMO.Pdf.PdfResourcePolicy required
The value.

Returns

RtfPdfExportOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Rtf.Pdf.RtfPdfExportOptions { ResourcePolicy = value };    rtfPdfExportOptions.ResourcePolicy(value);
public static RtfPdfExportOptions ResourcePolicy(RtfPdfExportOptions rtfPdfExportOptions, Action<PdfResourcePolicy> configure) #

Configures RtfPdfExportOptions.ResourcePolicy in place (creating it when not set): Host-resource policy. Defaults to balanced conversion: system fonts and bounded in-source resources are allowed, while local and remote reads are denied.

Parameters

rtfPdfExportOptions OfficeIMO.Rtf.Pdf.RtfPdfExportOptions required
The instance.
configure System.Action<OfficeIMO.Pdf.PdfResourcePolicy> required
Configures the value.

Returns

RtfPdfExportOptions The same instance.
public static RtfPdfExportOptions TextFallbacks(RtfPdfExportOptions rtfPdfExportOptions, PdfTextFallbackFeatures value) #

Sets RtfPdfExportOptions.TextFallbacks: Built-in generated-text fallback groups. Set to None for exact document-font output.

Parameters

rtfPdfExportOptions OfficeIMO.Rtf.Pdf.RtfPdfExportOptions required
The instance.
value OfficeIMO.Pdf.PdfTextFallbackFeatures required
The value.

Returns

RtfPdfExportOptions The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Rtf.Pdf.RtfPdfExportOptions { TextFallbacks = value };    rtfPdfExportOptions.TextFallbacks(value);