# RtfPdfExportOptionsFluent

The fluent methods of RtfPdfExportOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Rtf.Pdf`

**Namespace**

`OfficeIMO.Rtf.Pdf`

**Assembly**

`OfficeIMO.Rtf.Pdf`

**Modifiers**

static

The fluent methods of [RtfPdfExportOptions](/api/rtf-pdf/officeimo-rtf-pdf-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

Filter members 

Show inherited

## Methods

`public static RtfPdfExportOptions Configure(RtfPdfExportOptions rtfPdfExportOptions, Action<RtfPdfExportOptions> configure)` [#](#method-configure-officeimo-rtf-pdf-rtfpdfexportoptions-action-officeimo-rtf-pdf-rtfpdfexportoptions)

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

```csharp
// 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)` [#](#method-defaultimageheight-officeimo-rtf-pdf-rtfpdfexportoptions-double)

Sets [RtfPdfExportOptions.DefaultImageHeight](/api/rtf-pdf/officeimo-rtf-pdf-rtfpdfexportoptions/): 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

```csharp
// 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)` [#](#method-defaultimagewidth-officeimo-rtf-pdf-rtfpdfexportoptions-double)

Sets [RtfPdfExportOptions.DefaultImageWidth](/api/rtf-pdf/officeimo-rtf-pdf-rtfpdfexportoptions/): 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

```csharp
// 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)` [#](#method-failonloss-officeimo-rtf-pdf-rtfpdfexportoptions-boolean)

Sets [RtfPdfExportOptions.FailOnLoss](/api/rtf-pdf/officeimo-rtf-pdf-rtfpdfexportoptions/): 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

```csharp
// 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)` [#](#method-includeheaderfooters-officeimo-rtf-pdf-rtfpdfexportoptions-boolean)

Sets [RtfPdfExportOptions.IncludeHeaderFooters](/api/rtf-pdf/officeimo-rtf-pdf-rtfpdfexportoptions/): 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

```csharp
// 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)` [#](#method-includehiddentext-officeimo-rtf-pdf-rtfpdfexportoptions-boolean)

Sets [RtfPdfExportOptions.IncludeHiddenText](/api/rtf-pdf/officeimo-rtf-pdf-rtfpdfexportoptions/): 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

```csharp
// 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)` [#](#method-includeimages-officeimo-rtf-pdf-rtfpdfexportoptions-boolean)

Sets [RtfPdfExportOptions.IncludeImages](/api/rtf-pdf/officeimo-rtf-pdf-rtfpdfexportoptions/): 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

```csharp
// 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)` [#](#method-includemetadata-officeimo-rtf-pdf-rtfpdfexportoptions-boolean)

Sets [RtfPdfExportOptions.IncludeMetadata](/api/rtf-pdf/officeimo-rtf-pdf-rtfpdfexportoptions/): 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

```csharp
// 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)` [#](#method-includenotes-officeimo-rtf-pdf-rtfpdfexportoptions-boolean)

Sets [RtfPdfExportOptions.IncludeNotes](/api/rtf-pdf/officeimo-rtf-pdf-rtfpdfexportoptions/): 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

```csharp
// 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)` [#](#method-includetables-officeimo-rtf-pdf-rtfpdfexportoptions-boolean)

Sets [RtfPdfExportOptions.IncludeTables](/api/rtf-pdf/officeimo-rtf-pdf-rtfpdfexportoptions/): 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

```csharp
// 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)` [#](#method-maximumsystemfontfamilies-officeimo-rtf-pdf-rtfpdfexportoptions-int32)

Sets [RtfPdfExportOptions.MaximumSystemFontFamilies](/api/rtf-pdf/officeimo-rtf-pdf-rtfpdfexportoptions/): 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

```csharp
// 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)` [#](#method-pdfoptions-officeimo-rtf-pdf-rtfpdfexportoptions-officeimo-pdf-pdfcreateoptions)

Sets [RtfPdfExportOptions.PdfOptions](/api/rtf-pdf/officeimo-rtf-pdf-rtfpdfexportoptions/): 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

```csharp
// 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)` [#](#method-pdfoptions-officeimo-rtf-pdf-rtfpdfexportoptions-action-officeimo-pdf-pdfcreateoptions)

Configures [RtfPdfExportOptions.PdfOptions](/api/rtf-pdf/officeimo-rtf-pdf-rtfpdfexportoptions/) 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)` [#](#method-resourcepolicy-officeimo-rtf-pdf-rtfpdfexportoptions-officeimo-pdf-pdfresourcepolicy)

Sets [RtfPdfExportOptions.ResourcePolicy](/api/rtf-pdf/officeimo-rtf-pdf-rtfpdfexportoptions/): 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

```csharp
// 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)` [#](#method-resourcepolicy-officeimo-rtf-pdf-rtfpdfexportoptions-action-officeimo-pdf-pdfresourcepolicy)

Configures [RtfPdfExportOptions.ResourcePolicy](/api/rtf-pdf/officeimo-rtf-pdf-rtfpdfexportoptions/) 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)` [#](#method-textfallbacks-officeimo-rtf-pdf-rtfpdfexportoptions-officeimo-pdf-pdftextfallbackfeatures)

Sets [RtfPdfExportOptions.TextFallbacks](/api/rtf-pdf/officeimo-rtf-pdf-rtfpdfexportoptions/): 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

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

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:7018E500E7A8DF3108D384C5D92D334411E58A4526702DE3DD5A77B7278EEAFB -->
