# PdfTheme

Reusable bundle of default PDF styles for document or page composition.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfTheme.cs:82](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTheme.cs#L82)

**Modifiers**

sealed

Reusable bundle of default PDF styles for document or page composition.

## Inheritance

- object
- PdfTheme

## Usage

Explore 8 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 6

- Method [PdfTheme.Clone](/api/pdf/officeimo-pdf-pdftheme/#method-clone)
- Method [PdfTheme.Compact](/api/pdf/officeimo-pdf-pdftheme/#method-compact)
- Method [PdfTheme.FromOfficeTheme](/api/pdf/officeimo-pdf-pdftheme/#method-fromofficetheme-officeimo-officetheme)
- Method [PdfTheme.Report](/api/pdf/officeimo-pdf-pdftheme/#method-report)
- Method [PdfTheme.TechnicalDocument](/api/pdf/officeimo-pdf-pdftheme/#method-technicaldocument)
- Method [PdfTheme.WordLike](/api/pdf/officeimo-pdf-pdftheme/#method-wordlike)

### Accepted by parameters 2

- Method [PdfCreateOptions.ApplyTheme](/api/pdf/officeimo-pdf-pdfcreateoptions/#method-applytheme-officeimo-pdf-pdftheme) parameter `theme`
- Method [PdfPageBuilder.Theme](/api/pdf/officeimo-pdf-pdfpagebuilder/#method-theme-officeimo-pdf-pdftheme) parameter `theme`

Filter members 

Show inherited

## Constructors

`public PdfTheme()` [#](#constructor-ctor)

## Methods

`public PdfTheme Clone()` [#](#method-clone)

[PdfTheme.cs:306](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTheme.cs#L306)

Creates a deep copy of this theme.

Returns

`PdfTheme`

`public static PdfTheme Compact()` [#](#method-compact)

[PdfTheme.cs:201](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTheme.cs#L201)

Creates a compact document theme for dense notes and narrow reports that still need readable rhythm.

Returns

`PdfTheme`

`public static PdfTheme FromOfficeTheme(OfficeTheme theme)` [#](#method-fromofficetheme-officeimo-officetheme)

[PdfTheme.OfficeTheme.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTheme.OfficeTheme.cs#L16)

Creates PDF composition defaults from a cross-format OfficeTheme: the type scale and heading colour for headings, the theme table style with an accent header rule and hairline rows, list indentation with accent bullets, and paragraph spacing from the theme rhythm.

Parameters

**theme OfficeIMO.OfficeTheme required**

Theme that supplies colours, sizes and spacing.

Returns

`PdfTheme`

`public static PdfTheme Report()` [#](#method-report)

[PdfTheme.cs:250](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTheme.cs#L250)

Creates a report-oriented theme with stronger table hierarchy, summary-row separators, and calm document colors.

Returns

`PdfTheme`

`public static PdfTheme TechnicalDocument()` [#](#method-technicaldocument)

[PdfTheme.cs:176](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTheme.cs#L176)

Creates a technical-document theme for specifications, READMEs, and operational guides with stronger heading contrast and compact table rhythm.

Returns

`PdfTheme`

`public static PdfTheme WordLike()` [#](#method-wordlike)

[PdfTheme.cs:82](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTheme.cs#L82)

Creates a generic Word-like document theme with neutral typography, readable paragraph rhythm, heading hierarchy, lists, tables, and flow-object spacing.

Returns

`PdfTheme`

## 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?`

## Properties

`public PdfTextStyle? TextStyle { get; set; }` [#](#property-textstyle)

[PdfTheme.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTheme.cs#L20)

Default text typography for content that does not override it.

`public PdfParagraphStyle? ParagraphStyle { get; set; }` [#](#property-paragraphstyle)

[PdfTheme.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTheme.cs#L26)

Default paragraph layout and page-flow style.

`public PdfTableStyle? TableStyle { get; set; }` [#](#property-tablestyle)

[PdfTheme.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTheme.cs#L32)

Default table appearance and rhythm style.

`public PdfHeadingStyles? HeadingStyles { get; set; }` [#](#property-headingstyles)

[PdfTheme.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTheme.cs#L38)

Default heading typography and rhythm styles.

`public PdfListStyle? ListStyle { get; set; }` [#](#property-liststyle)

[PdfTheme.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTheme.cs#L44)

Default bullet and numbered list typography and rhythm style.

`public PdfPanelStyle? PdfPanelStyle { get; set; }` [#](#property-pdfpanelstyle)

[PdfTheme.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTheme.cs#L50)

Default panel paragraph box style.

`public PdfHorizontalRuleStyle? HorizontalRuleStyle { get; set; }` [#](#property-horizontalrulestyle)

[PdfTheme.cs:56](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTheme.cs#L56)

Default horizontal rule appearance and rhythm style.

`public PdfImageStyle? ImageStyle { get; set; }` [#](#property-imagestyle)

[PdfTheme.cs:62](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTheme.cs#L62)

Default image placement and rhythm style.

`public PdfDrawingStyle? DrawingStyle { get; set; }` [#](#property-drawingstyle)

[PdfTheme.cs:68](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTheme.cs#L68)

Default drawing object placement and rhythm style.

`public PdfRowStyle? RowStyle { get; set; }` [#](#property-rowstyle)

[PdfTheme.cs:74](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTheme.cs#L74)

Default row/column layout rhythm style.

<!-- PowerForge markdown artifact sha256:B5B96E7E3682C0ED0F9A2800D365C6FBF926DC8CE6B2E2A557058CAA53F881DB -->
