# PdfRtfExportOptionsFluent

The fluent methods of PdfRtfExportOptions, 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 [PdfRtfExportOptions](/api/rtf-pdf/officeimo-rtf-pdf-pdfrtfexportoptions/), 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
- PdfRtfExportOptionsFluent

Filter members 

Show inherited

## Methods

`public static PdfRtfExportOptions CreateHeadingStyles(PdfRtfExportOptions pdfRtfExportOptions, bool value = true)` [#](#method-createheadingstyles-officeimo-rtf-pdf-pdfrtfexportoptions-boolean)

Sets [PdfRtfExportOptions.CreateHeadingStyles](/api/rtf-pdf/officeimo-rtf-pdf-pdfrtfexportoptions/): Whether common Heading 1-3 stylesheet entries should be created for imported headings.

Parameters

**pdfRtfExportOptions OfficeIMO.Rtf.Pdf.PdfRtfExportOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfRtfExportOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                         // C# fluent
new global::OfficeIMO.Rtf.Pdf.PdfRtfExportOptions { CreateHeadingStyles = value };    pdfRtfExportOptions.CreateHeadingStyles(value);
```

`public static PdfRtfExportOptions FailOnLoss(PdfRtfExportOptions pdfRtfExportOptions, bool value = true)` [#](#method-failonloss-officeimo-rtf-pdf-pdfrtfexportoptions-boolean)

Sets [PdfRtfExportOptions.FailOnLoss](/api/rtf-pdf/officeimo-rtf-pdf-pdfrtfexportoptions/): Rejects semantic reconstruction when the completed report describes content loss.

Parameters

**pdfRtfExportOptions OfficeIMO.Rtf.Pdf.PdfRtfExportOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfRtfExportOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Rtf.Pdf.PdfRtfExportOptions { FailOnLoss = value };    pdfRtfExportOptions.FailOnLoss(value);
```

`public static PdfRtfExportOptions ImportHeadings(PdfRtfExportOptions pdfRtfExportOptions, bool value = true)` [#](#method-importheadings-officeimo-rtf-pdf-pdfrtfexportoptions-boolean)

Sets [PdfRtfExportOptions.ImportHeadings](/api/rtf-pdf/officeimo-rtf-pdf-pdfrtfexportoptions/): Whether logical heading lines should be imported as RTF heading-like paragraphs.

Parameters

**pdfRtfExportOptions OfficeIMO.Rtf.Pdf.PdfRtfExportOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfRtfExportOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Rtf.Pdf.PdfRtfExportOptions { ImportHeadings = value };    pdfRtfExportOptions.ImportHeadings(value);
```

`public static PdfRtfExportOptions ImportImages(PdfRtfExportOptions pdfRtfExportOptions, bool value = true)` [#](#method-importimages-officeimo-rtf-pdf-pdfrtfexportoptions-boolean)

Sets [PdfRtfExportOptions.ImportImages](/api/rtf-pdf/officeimo-rtf-pdf-pdfrtfexportoptions/): Whether visible PDF images should be embedded as RTF pictures. Clipped images carry only their visible pixels.

Parameters

**pdfRtfExportOptions OfficeIMO.Rtf.Pdf.PdfRtfExportOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfRtfExportOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Rtf.Pdf.PdfRtfExportOptions { ImportImages = value };    pdfRtfExportOptions.ImportImages(value);
```

`public static PdfRtfExportOptions ImportLists(PdfRtfExportOptions pdfRtfExportOptions, bool value = true)` [#](#method-importlists-officeimo-rtf-pdf-pdfrtfexportoptions-boolean)

Sets [PdfRtfExportOptions.ImportLists](/api/rtf-pdf/officeimo-rtf-pdf-pdfrtfexportoptions/): Whether logical list items should be imported as RTF list paragraphs with fallback marker text.

Parameters

**pdfRtfExportOptions OfficeIMO.Rtf.Pdf.PdfRtfExportOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfRtfExportOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Rtf.Pdf.PdfRtfExportOptions { ImportLists = value };    pdfRtfExportOptions.ImportLists(value);
```

`public static PdfRtfExportOptions IncludeEmptyPages(PdfRtfExportOptions pdfRtfExportOptions, bool value = true)` [#](#method-includeemptypages-officeimo-rtf-pdf-pdfrtfexportoptions-boolean)

Sets [PdfRtfExportOptions.IncludeEmptyPages](/api/rtf-pdf/officeimo-rtf-pdf-pdfrtfexportoptions/): Whether empty PDF pages should produce an empty RTF paragraph when page breaks are preserved.

Parameters

**pdfRtfExportOptions OfficeIMO.Rtf.Pdf.PdfRtfExportOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfRtfExportOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Rtf.Pdf.PdfRtfExportOptions { IncludeEmptyPages = value };    pdfRtfExportOptions.IncludeEmptyPages(value);
```

`public static PdfRtfExportOptions IncludeMetadata(PdfRtfExportOptions pdfRtfExportOptions, bool value = true)` [#](#method-includemetadata-officeimo-rtf-pdf-pdfrtfexportoptions-boolean)

Sets [PdfRtfExportOptions.IncludeMetadata](/api/rtf-pdf/officeimo-rtf-pdf-pdfrtfexportoptions/): Whether PDF Info dictionary metadata should be copied into the RTF info destination.

Parameters

**pdfRtfExportOptions OfficeIMO.Rtf.Pdf.PdfRtfExportOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfRtfExportOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Rtf.Pdf.PdfRtfExportOptions { IncludeMetadata = value };    pdfRtfExportOptions.IncludeMetadata(value);
```

`public static PdfRtfExportOptions PreservePageBreaks(PdfRtfExportOptions pdfRtfExportOptions, bool value = true)` [#](#method-preservepagebreaks-officeimo-rtf-pdf-pdfrtfexportoptions-boolean)

Sets [PdfRtfExportOptions.PreservePageBreaks](/api/rtf-pdf/officeimo-rtf-pdf-pdfrtfexportoptions/): Whether page transitions should be represented by RTF page-break-before paragraphs.

Parameters

**pdfRtfExportOptions OfficeIMO.Rtf.Pdf.PdfRtfExportOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfRtfExportOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Rtf.Pdf.PdfRtfExportOptions { PreservePageBreaks = value };    pdfRtfExportOptions.PreservePageBreaks(value);
```

ReadOptions 2 overloads

`public static PdfRtfExportOptions ReadOptions(PdfRtfExportOptions pdfRtfExportOptions, PdfLoadOptions? value)` [#](#method-readoptions-officeimo-rtf-pdf-pdfrtfexportoptions-officeimo-pdf-pdfloadoptions)

Sets [PdfRtfExportOptions.ReadOptions](/api/rtf-pdf/officeimo-rtf-pdf-pdfrtfexportoptions/): Canonical semantic-read settings used when importing an opened PdfDocument. Null uses PdfLoadOptions. This setting is ignored when the source is already a PdfDocumentReadResult.

Parameters

**pdfRtfExportOptions OfficeIMO.Rtf.Pdf.PdfRtfExportOptions required**

The instance.

**value OfficeIMO.Pdf.PdfLoadOptions? required**

The value.

Returns

`PdfRtfExportOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Rtf.Pdf.PdfRtfExportOptions { ReadOptions = value };    pdfRtfExportOptions.ReadOptions(value);
```

`public static PdfRtfExportOptions ReadOptions(PdfRtfExportOptions pdfRtfExportOptions, Action<PdfLoadOptions> configure)` [#](#method-readoptions-officeimo-rtf-pdf-pdfrtfexportoptions-action-officeimo-pdf-pdfloadoptions)

Configures [PdfRtfExportOptions.ReadOptions](/api/rtf-pdf/officeimo-rtf-pdf-pdfrtfexportoptions/) in place (creating it when not set): Canonical semantic-read settings used when importing an opened PdfDocument. Null uses PdfLoadOptions. This setting is ignored when the source is already a PdfDocumentReadResult.

Parameters

**pdfRtfExportOptions OfficeIMO.Rtf.Pdf.PdfRtfExportOptions required**

The instance.

**configure System.Action<OfficeIMO.Pdf.PdfLoadOptions> required**

Configures the value.

Returns

`PdfRtfExportOptions` The same instance.

## 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:9C6F4744D43D335DD67AC14AE78BBA11BC1E611FEB2891ACFE8EDED3A2BE1AEB -->
