# PdfThemeFluent

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

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Modifiers**

static

The fluent methods of [PdfTheme](/api/pdf/officeimo-pdf-pdftheme/), 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
- PdfThemeFluent

Filter members 

Show inherited

## Methods

DrawingStyle 2 overloads

`public static PdfTheme DrawingStyle(PdfTheme pdfTheme, PdfDrawingStyle? value)` [#](#method-drawingstyle-officeimo-pdf-pdftheme-officeimo-pdf-pdfdrawingstyle)

Sets [PdfTheme.DrawingStyle](/api/pdf/officeimo-pdf-pdftheme/): Default drawing object placement and rhythm style.

Parameters

**pdfTheme OfficeIMO.Pdf.PdfTheme required**

The instance.

**value OfficeIMO.Pdf.PdfDrawingStyle? required**

The value.

Returns

`PdfTheme` The same instance.

Examples

```csharp
// C# initializer or property                                   // C# fluent
new global::OfficeIMO.Pdf.PdfTheme { DrawingStyle = value };    pdfTheme.DrawingStyle(value);
```

`public static PdfTheme DrawingStyle(PdfTheme pdfTheme, Action<PdfDrawingStyle> configure)` [#](#method-drawingstyle-officeimo-pdf-pdftheme-action-officeimo-pdf-pdfdrawingstyle)

Configures [PdfTheme.DrawingStyle](/api/pdf/officeimo-pdf-pdftheme/) in place (creating it when not set): Default drawing object placement and rhythm style.

Parameters

**pdfTheme OfficeIMO.Pdf.PdfTheme required**

The instance.

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

Configures the value.

Returns

`PdfTheme` The same instance.

HeadingStyles 2 overloads

`public static PdfTheme HeadingStyles(PdfTheme pdfTheme, PdfHeadingStyles? value)` [#](#method-headingstyles-officeimo-pdf-pdftheme-officeimo-pdf-pdfheadingstyles)

Sets [PdfTheme.HeadingStyles](/api/pdf/officeimo-pdf-pdftheme/): Default heading typography and rhythm styles.

Parameters

**pdfTheme OfficeIMO.Pdf.PdfTheme required**

The instance.

**value OfficeIMO.Pdf.PdfHeadingStyles? required**

The value.

Returns

`PdfTheme` The same instance.

Examples

```csharp
// C# initializer or property                                    // C# fluent
new global::OfficeIMO.Pdf.PdfTheme { HeadingStyles = value };    pdfTheme.HeadingStyles(value);
```

`public static PdfTheme HeadingStyles(PdfTheme pdfTheme, Action<PdfHeadingStyles> configure)` [#](#method-headingstyles-officeimo-pdf-pdftheme-action-officeimo-pdf-pdfheadingstyles)

Configures [PdfTheme.HeadingStyles](/api/pdf/officeimo-pdf-pdftheme/) in place (creating it when not set): Default heading typography and rhythm styles.

Parameters

**pdfTheme OfficeIMO.Pdf.PdfTheme required**

The instance.

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

Configures the value.

Returns

`PdfTheme` The same instance.

HorizontalRuleStyle 2 overloads

`public static PdfTheme HorizontalRuleStyle(PdfTheme pdfTheme, PdfHorizontalRuleStyle? value)` [#](#method-horizontalrulestyle-officeimo-pdf-pdftheme-officeimo-pdf-pdfhorizontalrulestyle)

Sets [PdfTheme.HorizontalRuleStyle](/api/pdf/officeimo-pdf-pdftheme/): Default horizontal rule appearance and rhythm style.

Parameters

**pdfTheme OfficeIMO.Pdf.PdfTheme required**

The instance.

**value OfficeIMO.Pdf.PdfHorizontalRuleStyle? required**

The value.

Returns

`PdfTheme` The same instance.

Examples

```csharp
// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Pdf.PdfTheme { HorizontalRuleStyle = value };    pdfTheme.HorizontalRuleStyle(value);
```

`public static PdfTheme HorizontalRuleStyle(PdfTheme pdfTheme, Action<PdfHorizontalRuleStyle> configure)` [#](#method-horizontalrulestyle-officeimo-pdf-pdftheme-action-officeimo-pdf-pdfhorizontalrulestyle)

Configures [PdfTheme.HorizontalRuleStyle](/api/pdf/officeimo-pdf-pdftheme/) in place (creating it when not set): Default horizontal rule appearance and rhythm style.

Parameters

**pdfTheme OfficeIMO.Pdf.PdfTheme required**

The instance.

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

Configures the value.

Returns

`PdfTheme` The same instance.

ImageStyle 2 overloads

`public static PdfTheme ImageStyle(PdfTheme pdfTheme, PdfImageStyle? value)` [#](#method-imagestyle-officeimo-pdf-pdftheme-officeimo-pdf-pdfimagestyle)

Sets [PdfTheme.ImageStyle](/api/pdf/officeimo-pdf-pdftheme/): Default image placement and rhythm style.

Parameters

**pdfTheme OfficeIMO.Pdf.PdfTheme required**

The instance.

**value OfficeIMO.Pdf.PdfImageStyle? required**

The value.

Returns

`PdfTheme` The same instance.

Examples

```csharp
// C# initializer or property                                 // C# fluent
new global::OfficeIMO.Pdf.PdfTheme { ImageStyle = value };    pdfTheme.ImageStyle(value);
```

`public static PdfTheme ImageStyle(PdfTheme pdfTheme, Action<PdfImageStyle> configure)` [#](#method-imagestyle-officeimo-pdf-pdftheme-action-officeimo-pdf-pdfimagestyle)

Configures [PdfTheme.ImageStyle](/api/pdf/officeimo-pdf-pdftheme/) in place (creating it when not set): Default image placement and rhythm style.

Parameters

**pdfTheme OfficeIMO.Pdf.PdfTheme required**

The instance.

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

Configures the value.

Returns

`PdfTheme` The same instance.

ListStyle 2 overloads

`public static PdfTheme ListStyle(PdfTheme pdfTheme, PdfListStyle? value)` [#](#method-liststyle-officeimo-pdf-pdftheme-officeimo-pdf-pdfliststyle)

Sets [PdfTheme.ListStyle](/api/pdf/officeimo-pdf-pdftheme/): Default bullet and numbered list typography and rhythm style.

Parameters

**pdfTheme OfficeIMO.Pdf.PdfTheme required**

The instance.

**value OfficeIMO.Pdf.PdfListStyle? required**

The value.

Returns

`PdfTheme` The same instance.

Examples

```csharp
// C# initializer or property                                // C# fluent
new global::OfficeIMO.Pdf.PdfTheme { ListStyle = value };    pdfTheme.ListStyle(value);
```

`public static PdfTheme ListStyle(PdfTheme pdfTheme, Action<PdfListStyle> configure)` [#](#method-liststyle-officeimo-pdf-pdftheme-action-officeimo-pdf-pdfliststyle)

Configures [PdfTheme.ListStyle](/api/pdf/officeimo-pdf-pdftheme/) in place (creating it when not set): Default bullet and numbered list typography and rhythm style.

Parameters

**pdfTheme OfficeIMO.Pdf.PdfTheme required**

The instance.

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

Configures the value.

Returns

`PdfTheme` The same instance.

ParagraphStyle 2 overloads

`public static PdfTheme ParagraphStyle(PdfTheme pdfTheme, PdfParagraphStyle? value)` [#](#method-paragraphstyle-officeimo-pdf-pdftheme-officeimo-pdf-pdfparagraphstyle)

Sets [PdfTheme.ParagraphStyle](/api/pdf/officeimo-pdf-pdftheme/): Default paragraph layout and page-flow style.

Parameters

**pdfTheme OfficeIMO.Pdf.PdfTheme required**

The instance.

**value OfficeIMO.Pdf.PdfParagraphStyle? required**

The value.

Returns

`PdfTheme` The same instance.

Examples

```csharp
// C# initializer or property                                     // C# fluent
new global::OfficeIMO.Pdf.PdfTheme { ParagraphStyle = value };    pdfTheme.ParagraphStyle(value);
```

`public static PdfTheme ParagraphStyle(PdfTheme pdfTheme, Action<PdfParagraphStyle> configure)` [#](#method-paragraphstyle-officeimo-pdf-pdftheme-action-officeimo-pdf-pdfparagraphstyle)

Configures [PdfTheme.ParagraphStyle](/api/pdf/officeimo-pdf-pdftheme/) in place (creating it when not set): Default paragraph layout and page-flow style.

Parameters

**pdfTheme OfficeIMO.Pdf.PdfTheme required**

The instance.

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

Configures the value.

Returns

`PdfTheme` The same instance.

PdfPanelStyle 2 overloads

`public static PdfTheme PdfPanelStyle(PdfTheme pdfTheme, PdfPanelStyle? value)` [#](#method-pdfpanelstyle-officeimo-pdf-pdftheme-officeimo-pdf-pdfpanelstyle)

Sets [PdfTheme.PdfPanelStyle](/api/pdf/officeimo-pdf-pdftheme/): Default panel paragraph box style.

Parameters

**pdfTheme OfficeIMO.Pdf.PdfTheme required**

The instance.

**value OfficeIMO.Pdf.PdfPanelStyle? required**

The value.

Returns

`PdfTheme` The same instance.

Examples

```csharp
// C# initializer or property                                    // C# fluent
new global::OfficeIMO.Pdf.PdfTheme { PdfPanelStyle = value };    pdfTheme.PdfPanelStyle(value);
```

`public static PdfTheme PdfPanelStyle(PdfTheme pdfTheme, Action<PdfPanelStyle> configure)` [#](#method-pdfpanelstyle-officeimo-pdf-pdftheme-action-officeimo-pdf-pdfpanelstyle)

Configures [PdfTheme.PdfPanelStyle](/api/pdf/officeimo-pdf-pdftheme/) in place (creating it when not set): Default panel paragraph box style.

Parameters

**pdfTheme OfficeIMO.Pdf.PdfTheme required**

The instance.

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

Configures the value.

Returns

`PdfTheme` The same instance.

RowStyle 2 overloads

`public static PdfTheme RowStyle(PdfTheme pdfTheme, PdfRowStyle? value)` [#](#method-rowstyle-officeimo-pdf-pdftheme-officeimo-pdf-pdfrowstyle)

Sets [PdfTheme.RowStyle](/api/pdf/officeimo-pdf-pdftheme/): Default row/column layout rhythm style.

Parameters

**pdfTheme OfficeIMO.Pdf.PdfTheme required**

The instance.

**value OfficeIMO.Pdf.PdfRowStyle? required**

The value.

Returns

`PdfTheme` The same instance.

Examples

```csharp
// C# initializer or property                               // C# fluent
new global::OfficeIMO.Pdf.PdfTheme { RowStyle = value };    pdfTheme.RowStyle(value);
```

`public static PdfTheme RowStyle(PdfTheme pdfTheme, Action<PdfRowStyle> configure)` [#](#method-rowstyle-officeimo-pdf-pdftheme-action-officeimo-pdf-pdfrowstyle)

Configures [PdfTheme.RowStyle](/api/pdf/officeimo-pdf-pdftheme/) in place (creating it when not set): Default row/column layout rhythm style.

Parameters

**pdfTheme OfficeIMO.Pdf.PdfTheme required**

The instance.

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

Configures the value.

Returns

`PdfTheme` The same instance.

TableStyle 2 overloads

`public static PdfTheme TableStyle(PdfTheme pdfTheme, PdfTableStyle? value)` [#](#method-tablestyle-officeimo-pdf-pdftheme-officeimo-pdf-pdftablestyle)

Sets [PdfTheme.TableStyle](/api/pdf/officeimo-pdf-pdftheme/): Default table appearance and rhythm style.

Parameters

**pdfTheme OfficeIMO.Pdf.PdfTheme required**

The instance.

**value OfficeIMO.Pdf.PdfTableStyle? required**

The value.

Returns

`PdfTheme` The same instance.

Examples

```csharp
// C# initializer or property                                 // C# fluent
new global::OfficeIMO.Pdf.PdfTheme { TableStyle = value };    pdfTheme.TableStyle(value);
```

`public static PdfTheme TableStyle(PdfTheme pdfTheme, Action<PdfTableStyle> configure)` [#](#method-tablestyle-officeimo-pdf-pdftheme-action-officeimo-pdf-pdftablestyle)

Configures [PdfTheme.TableStyle](/api/pdf/officeimo-pdf-pdftheme/) in place (creating it when not set): Default table appearance and rhythm style.

Parameters

**pdfTheme OfficeIMO.Pdf.PdfTheme required**

The instance.

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

Configures the value.

Returns

`PdfTheme` The same instance.

TextStyle 2 overloads

`public static PdfTheme TextStyle(PdfTheme pdfTheme, PdfTextStyle? value)` [#](#method-textstyle-officeimo-pdf-pdftheme-officeimo-pdf-pdftextstyle)

Sets [PdfTheme.TextStyle](/api/pdf/officeimo-pdf-pdftheme/): Default text typography for content that does not override it.

Parameters

**pdfTheme OfficeIMO.Pdf.PdfTheme required**

The instance.

**value OfficeIMO.Pdf.PdfTextStyle? required**

The value.

Returns

`PdfTheme` The same instance.

Examples

```csharp
// C# initializer or property                                // C# fluent
new global::OfficeIMO.Pdf.PdfTheme { TextStyle = value };    pdfTheme.TextStyle(value);
```

`public static PdfTheme TextStyle(PdfTheme pdfTheme, Action<PdfTextStyle> configure)` [#](#method-textstyle-officeimo-pdf-pdftheme-action-officeimo-pdf-pdftextstyle)

Configures [PdfTheme.TextStyle](/api/pdf/officeimo-pdf-pdftheme/) in place (creating it when not set): Default text typography for content that does not override it.

Parameters

**pdfTheme OfficeIMO.Pdf.PdfTheme required**

The instance.

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

Configures the value.

Returns

`PdfTheme` 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:931BA0A9AE626838FDA9A1EE1E06BC61B8CD4F3AB8E44C75F4BB6864C7A89184 -->
