# PdfHeadingStyles

Reusable heading styles for the built-in H1/H2/H3 levels.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfHeadingStyles.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfHeadingStyles.cs#L31)

**Modifiers**

sealed

Reusable heading styles for the built-in H1/H2/H3 levels.

## Inheritance

- object
- PdfHeadingStyles

## Usage

Explore 3 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 3

- Property [PdfCreateOptions.DefaultHeadingStyles](/api/pdf/officeimo-pdf-pdfcreateoptions/#property-defaultheadingstyles)
- Method [PdfHeadingStyles.Clone](/api/pdf/officeimo-pdf-pdfheadingstyles/#method-clone)
- Property [PdfTheme.HeadingStyles](/api/pdf/officeimo-pdf-pdftheme/#property-headingstyles)

Filter members 

Show inherited

## Constructors

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

## Methods

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

[PdfHeadingStyles.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfHeadingStyles.cs#L31)

Creates a deep copy of this heading style set.

Returns

`PdfHeadingStyles`

## 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 PdfHeadingStyle? Level1 { get; set; }` [#](#property-level1)

[PdfHeadingStyles.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfHeadingStyles.cs#L13)

Default style for H1 headings.

`public PdfHeadingStyle? Level2 { get; set; }` [#](#property-level2)

[PdfHeadingStyles.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfHeadingStyles.cs#L19)

Default style for H2 headings.

`public PdfHeadingStyle? Level3 { get; set; }` [#](#property-level3)

[PdfHeadingStyles.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfHeadingStyles.cs#L25)

Default style for H3 headings.

<!-- PowerForge markdown artifact sha256:489D832B018515CF06688147C8B8987A9CD208712FDCA11EE716E18D867F4283 -->
