# WordPdfExportOptionsFluent

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

Class 

`OfficeIMO.Word.Pdf`

**Namespace**

`OfficeIMO.Word.Pdf`

**Assembly**

`OfficeIMO.Word.Pdf`

**Modifiers**

static

The fluent methods of [WordPdfExportOptions](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/), 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
- WordPdfExportOptionsFluent

Filter members 

Show inherited

## Methods

`public static TSelf Author<TSelf>(TSelf wordPdfExportOptions, string? value)` [#](#method-author-string)

Sets [WordPdfExportOptions.Author](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): Optional PDF author that overrides the Word document author.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { Author = value };    wordPdfExportOptions.Author(value);
```

ChartRendering``1 2 overloads

`public static TSelf ChartRendering<TSelf>(TSelf wordPdfExportOptions, OfficeChartRenderOptions value)` [#](#method-chartrendering-officeimo-officechartrenderoptions)

Sets [WordPdfExportOptions.ChartRendering](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): How native charts are drawn, including what happens to formatting the chart renderer cannot reproduce exactly.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value OfficeIMO.OfficeChartRenderOptions required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { ChartRendering = value };    wordPdfExportOptions.ChartRendering(value);
```

`public static TSelf ChartRendering<TSelf>(TSelf wordPdfExportOptions, Action<OfficeChartRenderOptions> configure)` [#](#method-chartrendering-action-officeimo-officechartrenderoptions)

Configures [WordPdfExportOptions.ChartRendering](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/) in place (creating it when not set): How native charts are drawn, including what happens to formatting the chart renderer cannot reproduce exactly.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**configure System.Action<OfficeIMO.OfficeChartRenderOptions> required**

Configures the value.

Returns

`TSelf` The same instance.

DateTimeFieldUpdateOptions``1 2 overloads

`public static TSelf DateTimeFieldUpdateOptions<TSelf>(TSelf wordPdfExportOptions, WordFieldUpdateOptions? value)` [#](#method-datetimefieldupdateoptions-officeimo-word-wordfieldupdateoptions)

Sets [WordPdfExportOptions.DateTimeFieldUpdateOptions](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): Optional DATE and TIME field refresh before PDF conversion. When null, cached Word field results are used. Other field results remain unchanged. The refresh updates the source WordDocument in memory without saving the Word file. Set WordFieldUpdateOptions.CurrentDateTime for a fixed value.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value OfficeIMO.Word.WordFieldUpdateOptions? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                                  // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { DateTimeFieldUpdateOptions = value };    wordPdfExportOptions.DateTimeFieldUpdateOptions(value);
```

`public static TSelf DateTimeFieldUpdateOptions<TSelf>(TSelf wordPdfExportOptions, Action<WordFieldUpdateOptions> configure)` [#](#method-datetimefieldupdateoptions-action-officeimo-word-wordfieldupdateoptions)

Configures [WordPdfExportOptions.DateTimeFieldUpdateOptions](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/) in place (creating it when not set): Optional DATE and TIME field refresh before PDF conversion. When null, cached Word field results are used. Other field results remain unchanged. The refresh updates the source WordDocument in memory without saving the Word file. Set WordFieldUpdateOptions.CurrentDateTime for a fixed value.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**configure System.Action<OfficeIMO.Word.WordFieldUpdateOptions> required**

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf DefaultTableBorders<TSelf>(TSelf wordPdfExportOptions, bool value = true)` [#](#method-defaulttableborders-boolean)

Sets [WordPdfExportOptions.DefaultTableBorders](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): When true, draws subtle borders for table cells that do not define borders in the Word document. Defaults to false to preserve strict fidelity.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { DefaultTableBorders = value };    wordPdfExportOptions.DefaultTableBorders(value);
```

`public static TSelf FailOnLoss<TSelf>(TSelf wordPdfExportOptions, bool value = true)` [#](#method-failonloss-boolean)

Sets [WordPdfExportOptions.FailOnLoss](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): Blocks output when conversion reports fidelity loss.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { FailOnLoss = value };    wordPdfExportOptions.FailOnLoss(value);
```

`public static TSelf FallbackOrientation<TSelf>(TSelf wordPdfExportOptions, OfficePageOrientation? value)` [#](#method-fallbackorientation-nullable-officeimo-officepageorientation)

Sets [WordPdfExportOptions.FallbackOrientation](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): Fallback orientation when the source section has no landscape orientation and no export override applies.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value OfficeIMO.OfficePageOrientation? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { FallbackOrientation = value };    wordPdfExportOptions.FallbackOrientation(value);
```

`public static TSelf FallbackPageSize<TSelf>(TSelf wordPdfExportOptions, PdfPageSize? value)` [#](#method-fallbackpagesize-nullable-officeimo-pdf-pdfpagesize)

Sets [WordPdfExportOptions.FallbackPageSize](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): Page size used only when a source section has no usable page size.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value OfficeIMO.Pdf.PdfPageSize? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { FallbackPageSize = value };    wordPdfExportOptions.FallbackPageSize(value);
```

`public static TSelf FontFamily<TSelf>(TSelf wordPdfExportOptions, string? value)` [#](#method-fontfamily-string)

Sets [WordPdfExportOptions.FontFamily](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): Optional Word-style font family used as the first-party PDF default font. When the resource policy allows system fonts, an installed family is embedded; otherwise it maps to the nearest PDF standard font.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { FontFamily = value };    wordPdfExportOptions.FontFamily(value);
```

`public static TSelf IncludePageNumbers<TSelf>(TSelf wordPdfExportOptions, bool value = true)` [#](#method-includepagenumbers-boolean)

Sets [WordPdfExportOptions.IncludePageNumbers](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): Determines whether generated page numbers are rendered when the Word source has no page-number field. Defaults to false.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { IncludePageNumbers = value };    wordPdfExportOptions.IncludePageNumbers(value);
```

`public static TSelf Keywords<TSelf>(TSelf wordPdfExportOptions, string? value)` [#](#method-keywords-string)

Sets [WordPdfExportOptions.Keywords](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): Optional PDF keywords that override the Word document keywords.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { Keywords = value };    wordPdfExportOptions.Keywords(value);
```

`public static TSelf Margins<TSelf>(TSelf wordPdfExportOptions, PdfPageMargins? value)` [#](#method-margins-nullable-officeimo-pdf-pdfpagemargins)

Sets [WordPdfExportOptions.Margins](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): Optional page margins in PDF points.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value OfficeIMO.Pdf.PdfPageMargins? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { Margins = value };    wordPdfExportOptions.Margins(value);
```

`public static TSelf MaxImagesPerParagraph<TSelf>(TSelf wordPdfExportOptions, int value)` [#](#method-maximagesperparagraph-int32)

Sets [WordPdfExportOptions.MaxImagesPerParagraph](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): Maximum images collected from one Word paragraph during PDF export.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value int required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                             // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { MaxImagesPerParagraph = value };    wordPdfExportOptions.MaxImagesPerParagraph(value);
```

`public static TSelf Orientation<TSelf>(TSelf wordPdfExportOptions, OfficePageOrientation? value)` [#](#method-orientation-nullable-officeimo-officepageorientation)

Sets [WordPdfExportOptions.Orientation](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): Optional page orientation for the generated PDF.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value OfficeIMO.OfficePageOrientation? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { Orientation = value };    wordPdfExportOptions.Orientation(value);
```

`public static TSelf PageNumberFormat<TSelf>(TSelf wordPdfExportOptions, string? value)` [#](#method-pagenumberformat-string)

Sets [WordPdfExportOptions.PageNumberFormat](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): Optional format for page numbers. Use "{current}" for the current page and "{total}" for total pages.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { PageNumberFormat = value };    wordPdfExportOptions.PageNumberFormat(value);
```

`public static TSelf PageSize<TSelf>(TSelf wordPdfExportOptions, PdfPageSize? value)` [#](#method-pagesize-nullable-officeimo-pdf-pdfpagesize)

Sets [WordPdfExportOptions.PageSize](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): Optional page size in PDF points. The supplied geometry is preserved unless [WordPdfExportOptions.Orientation](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/) is also set.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value OfficeIMO.Pdf.PdfPageSize? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { PageSize = value };    wordPdfExportOptions.PageSize(value);
```

PdfOptions``1 2 overloads

`public static TSelf PdfOptions<TSelf>(TSelf wordPdfExportOptions, PdfCreateOptions? value)` [#](#method-pdfoptions-officeimo-pdf-pdfcreateoptions)

Sets [WordPdfExportOptions.PdfOptions](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): PDF creation options passed to the first-party PDF engine. The options are cloned before export.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value OfficeIMO.Pdf.PdfCreateOptions? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { PdfOptions = value };    wordPdfExportOptions.PdfOptions(value);
```

`public static TSelf PdfOptions<TSelf>(TSelf wordPdfExportOptions, Action<PdfCreateOptions> configure)` [#](#method-pdfoptions-action-officeimo-pdf-pdfcreateoptions)

Configures [WordPdfExportOptions.PdfOptions](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/) in place (creating it when not set): PDF creation options passed to the first-party PDF engine. The options are cloned before export.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

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

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf Profile<TSelf>(TSelf wordPdfExportOptions, PdfExportProfile profile)` [#](#method-profile-officeimo-pdf-pdfexportprofile)

Applies a high-level export profile by setting the Word PDF options that correspond to that profile.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**profile OfficeIMO.Pdf.PdfExportProfile required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf RenderingProfile<TSelf>(TSelf wordPdfExportOptions, OfficeRenderingProfile profile, OfficeRenderingProfileApplyMode mode = Replace)` [#](#method-renderingprofile-officeimo-drawing-officerenderingprofile-officeimo-drawing-officerenderingprofileapplymode)

Applies shared deterministic typography resources to the first-party PDF engine. Word pagination and layout settings remain owned by this converter.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**profile OfficeIMO.Drawing.OfficeRenderingProfile required**

The value.

**mode OfficeIMO.Drawing.OfficeRenderingProfileApplyMode = Replace optional**

The value.

Returns

`TSelf` The same instance.

ResourcePolicy``1 2 overloads

`public static TSelf ResourcePolicy<TSelf>(TSelf wordPdfExportOptions, PdfResourcePolicy value)` [#](#method-resourcepolicy-officeimo-pdf-pdfresourcepolicy)

Sets [WordPdfExportOptions.ResourcePolicy](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): Host-resource policy. Balanced conversion embeds installed document fonts and uses installed substitutes for missing Office families. Local files and remote resources are disabled. Use PdfResourcePolicy.CreatePortableDeterministic for host-independent conversion.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value OfficeIMO.Pdf.PdfResourcePolicy required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { ResourcePolicy = value };    wordPdfExportOptions.ResourcePolicy(value);
```

`public static TSelf ResourcePolicy<TSelf>(TSelf wordPdfExportOptions, Action<PdfResourcePolicy> configure)` [#](#method-resourcepolicy-action-officeimo-pdf-pdfresourcepolicy)

Configures [WordPdfExportOptions.ResourcePolicy](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/) in place (creating it when not set): Host-resource policy. Balanced conversion embeds installed document fonts and uses installed substitutes for missing Office families. Local files and remote resources are disabled. Use PdfResourcePolicy.CreatePortableDeterministic for host-independent conversion.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

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

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf Subject<TSelf>(TSelf wordPdfExportOptions, string? value)` [#](#method-subject-string)

Sets [WordPdfExportOptions.Subject](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): Optional PDF subject that overrides the Word document subject.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { Subject = value };    wordPdfExportOptions.Subject(value);
```

`public static TSelf TextFallbacks<TSelf>(TSelf wordPdfExportOptions, PdfTextFallbackFeatures value)` [#](#method-textfallbacks-officeimo-pdf-pdftextfallbackfeatures)

Sets [WordPdfExportOptions.TextFallbacks](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): Built-in generated-text fallback groups applied by the Word PDF converter when system font embedding is allowed. Defaults to the recommended preset, but no host font files are embedded unless [WordPdfExportOptions.ResourcePolicy](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/) allows them.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value OfficeIMO.Pdf.PdfTextFallbackFeatures required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { TextFallbacks = value };    wordPdfExportOptions.TextFallbacks(value);
```

`public static TSelf Title<TSelf>(TSelf wordPdfExportOptions, string? value)` [#](#method-title-string)

Sets [WordPdfExportOptions.Title](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): Optional PDF title that overrides the Word document title.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { Title = value };    wordPdfExportOptions.Title(value);
```

`public static TSelf TrackedChanges<TSelf>(TSelf wordPdfExportOptions, WordPdfTrackedChangeView value)` [#](#method-trackedchanges-officeimo-word-pdf-wordpdftrackedchangeview)

Sets [WordPdfExportOptions.TrackedChanges](/api/word-pdf/officeimo-word-pdf-wordpdfexportoptions/): Selects how tracked insertions and deletions are shown. Defaults to [WordPdfTrackedChangeView.Markup](/api/word-pdf/officeimo-word-pdf-wordpdftrackedchangeview/), which underlines insertions and strikes through deletions in a revision colour. The final view reports when tracked revisions are projected into accepted text.

Type Parameters

**TSelf**

Parameters

**wordPdfExportOptions TSelf required**

The instance.

**value OfficeIMO.Word.Pdf.WordPdfTrackedChangeView required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Word.Pdf.WordPdfExportOptions { TrackedChanges = value };    wordPdfExportOptions.TrackedChanges(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:51FF80C832F24E9711BFD417F9FD601897C1D6E159AE775677FA0CD4A2B8931D -->
