# IWorkPagesSection

Headers and footers associated with one Pages section in source order.

Class 

`OfficeIMO.IWork`

**Namespace**

`OfficeIMO.IWork`

**Assembly**

`OfficeIMO.IWork`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[IWorkText.cs:285](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L285)

**Modifiers**

sealed

Headers and footers associated with one Pages section in source order.

## Inheritance

- object
- IWorkPagesSection

## 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.

### Returned or exposed by 1

- Property [IWorkPagesProjection.Sections](/api/iwork/officeimo-iwork-iworkpagesprojection/#property-sections)

Filter members 

Show inherited

## 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 int Index { get; }` [#](#property-index)

[IWorkText.cs:285](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L285)

Gets the zero-based source section index.

`public bool DifferentFirstPage { get; }` [#](#property-differentfirstpage)

[IWorkText.cs:287](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L287)

Gets whether the section selects its first-page template instead of the default template.

`public bool DifferentOddAndEvenPages { get; }` [#](#property-differentoddandevenpages)

[IWorkText.cs:289](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L289)

Gets whether the section selects its even-page template on even pages.

`public bool HideFirstPageHeadersAndFooters { get; }` [#](#property-hidefirstpageheadersandfooters)

[IWorkText.cs:291](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L291)

Gets whether headers and footers are hidden on the section's first page.

`public bool HasFirstPageTemplate { get; }` [#](#property-hasfirstpagetemplate)

[IWorkText.cs:293](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L293)

Gets whether the source declares a distinct first-page template.

`public bool HasEvenPageTemplate { get; }` [#](#property-hasevenpagetemplate)

[IWorkText.cs:295](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L295)

Gets whether the source declares a distinct even-page template.

`public bool HasDefaultPageTemplate { get; }` [#](#property-hasdefaultpagetemplate)

[IWorkText.cs:297](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L297)

Gets whether the source declares a default odd-page template.

`public IReadOnlyList<IWorkTextContent> FirstPageHeaderContents { get; }` [#](#property-firstpageheadercontents)

[IWorkText.cs:299](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L299)

Gets rich first-page header storages.

`public IReadOnlyList<IWorkTextContent> FirstPageFooterContents { get; }` [#](#property-firstpagefootercontents)

[IWorkText.cs:301](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L301)

Gets rich first-page footer storages.

`public IReadOnlyList<IWorkTextContent> EvenPageHeaderContents { get; }` [#](#property-evenpageheadercontents)

[IWorkText.cs:303](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L303)

Gets rich even-page header storages.

`public IReadOnlyList<IWorkTextContent> EvenPageFooterContents { get; }` [#](#property-evenpagefootercontents)

[IWorkText.cs:305](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L305)

Gets rich even-page footer storages.

`public IReadOnlyList<IWorkTextContent> DefaultPageHeaderContents { get; }` [#](#property-defaultpageheadercontents)

[IWorkText.cs:307](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L307)

Gets rich default odd-page header storages.

`public IReadOnlyList<IWorkTextContent> DefaultPageFooterContents { get; }` [#](#property-defaultpagefootercontents)

[IWorkText.cs:309](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L309)

Gets rich default odd-page footer storages.

`public IReadOnlyList<IWorkTextContent> SelectedHeaderContents { get; }` [#](#property-selectedheadercontents)

[IWorkText.cs:311](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L311)

Gets header storages selected by section settings, in first/even/default template order. This is a semantic inventory, not a rendered page count.

`public IReadOnlyList<IWorkTextContent> SelectedFooterContents { get; }` [#](#property-selectedfootercontents)

[IWorkText.cs:313](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L313)

Gets footer storages selected by section settings, in first/even/default template order. This is a semantic inventory, not a rendered page count.

`public IReadOnlyList<IWorkTextContent> HeaderContents { get; }` [#](#property-headercontents)

[IWorkText.cs:315](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L315)

Gets all rich header storages in first/even/default source-template order.

`public IReadOnlyList<IWorkTextContent> FooterContents { get; }` [#](#property-footercontents)

[IWorkText.cs:317](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkText.cs#L317)

Gets all rich footer storages in first/even/default source-template order.

<!-- PowerForge markdown artifact sha256:2D593E56E5ED880423455E2C5673F43BC6B378B2A24D5E61F2A211905128AE18 -->
