# PdfSectionOptions

Configures a generated document section.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfSectionOptions.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfSectionOptions.cs#L5)

**Modifiers**

sealed

Configures a generated document section.

## Inheritance

- object
- PdfSectionOptions

## Usage

Explore 1 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.

### Accepted by parameters 1

- Method [PdfContentBuilder.Section](/api/pdf/officeimo-pdf-pdfcontentbuilder/#method-section-string-action-officeimo-pdf-pdfcontentbuilder-officeimo-pdf-pdfsectionoptions) parameter `options`

Filter members 

Show inherited

## Constructors

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

[PdfSectionOptions.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfSectionOptions.cs#L5)

## 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 string? DestinationName { get; set; }` [#](#property-destinationname)

[PdfSectionOptions.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfSectionOptions.cs#L8)

Optional named destination; a stable document-local name is generated when omitted.

`public int Level { get; set; }` [#](#property-level)

[PdfSectionOptions.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfSectionOptions.cs#L12)

Outline and TOC hierarchy level.

`public bool StartOnNewPage { get; set; }` [#](#property-startonnewpage)

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

Starts the section on a new page when prior page content exists.

`public bool IncludeHeading { get; set; }` [#](#property-includeheading)

[PdfSectionOptions.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfSectionOptions.cs#L22)

Emits a heading for the section title.

`public bool IncludeInTableOfContents { get; set; }` [#](#property-includeintableofcontents)

[PdfSectionOptions.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfSectionOptions.cs#L24)

Includes the section in generated tables of contents.

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

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

Optional heading style override.

`public PdfSectionReference? Reference { get; set; }` [#](#property-reference)

[PdfSectionOptions.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfSectionOptions.cs#L28)

Optional handle populated with the final output location.

<!-- PowerForge markdown artifact sha256:0577473F7E98B3E7E7AAFFAAFBCAEEDE7B209D1D09A85E43A5598F8F41D8DB2B -->
