# HeaderFooterSettings Interface

> HeaderFooterSettings interface in the TX Sheet Control TypeScript API for the browser, with 10 properties and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > HeaderFooterSettings Interface
- **720 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/llms-full.txt

---

Excel-compatible text codes: &P page, &N count, &D date, &T time, &A sheet, &F file, &Z path, && literal ampersand. &L/&C/&R select sections.

Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

Type-only declaration; it is not a JavaScript runtime constructor.

### Members

#### Properties

| Property | Description |
|---|---|
| [alignWithMargins](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/alignwithmargins-property/llms-full.txt) | The alignWithMargins value of HeaderFooterSettings. |
| [differentFirst](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/differentfirst-property/llms-full.txt) | The differentFirst value of HeaderFooterSettings. |
| [differentOddEven](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/differentoddeven-property/llms-full.txt) | The differentOddEven value of HeaderFooterSettings. |
| [evenFooter](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/evenfooter-property/llms-full.txt) | The evenFooter value of HeaderFooterSettings. |
| [evenHeader](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/evenheader-property/llms-full.txt) | The evenHeader value of HeaderFooterSettings. |
| [firstFooter](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/firstfooter-property/llms-full.txt) | The firstFooter value of HeaderFooterSettings. |
| [firstHeader](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/firstheader-property/llms-full.txt) | The firstHeader value of HeaderFooterSettings. |
| [oddFooter](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/oddfooter-property/llms-full.txt) | The oddFooter value of HeaderFooterSettings. |
| [oddHeader](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/oddheader-property/llms-full.txt) | The oddHeader value of HeaderFooterSettings. |
| [scaleWithDocument](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/scalewithdocument-property/llms-full.txt) | The scaleWithDocument value of HeaderFooterSettings. |

### Examples

Configure HeaderFooterSettings for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.

```typescript
import type { HeaderFooterSettings } from '@txtextcontrol/tx-sheet-control';

const headerFooterSettings: HeaderFooterSettings = {
    oddHeader: 'Invoice',
    oddFooter: 'Invoice',
    evenHeader: 'Invoice',
    evenFooter: 'Invoice',
    firstHeader: 'Invoice',
    firstFooter: 'Invoice',
    differentFirst: false,
    differentOddEven: false,
    scaleWithDocument: false,
    alignWithMargins: false,
};
```

### See Also

- [TypeScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/llms-full.txt)
- [Workbooks and Worksheets](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/workbooks/llms-full.txt)

---

## In This Section

- [HeaderFooterSettings.alignWithMargins Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/alignwithmargins-property/llms-full.txt): HeaderFooterSettings.alignWithMargins property in the TX Sheet Control TypeScript API for the browser, with its type boolean and a TypeScript example.
- [HeaderFooterSettings.differentFirst Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/differentfirst-property/llms-full.txt): HeaderFooterSettings.differentFirst property in the TX Sheet Control TypeScript API for the browser, with its type boolean and a TypeScript example.
- [HeaderFooterSettings.differentOddEven Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/differentoddeven-property/llms-full.txt): HeaderFooterSettings.differentOddEven property in the TX Sheet Control TypeScript API for the browser, with its type boolean and a TypeScript example.
- [HeaderFooterSettings.evenFooter Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/evenfooter-property/llms-full.txt): HeaderFooterSettings.evenFooter property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.
- [HeaderFooterSettings.evenHeader Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/evenheader-property/llms-full.txt): HeaderFooterSettings.evenHeader property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.
- [HeaderFooterSettings.firstFooter Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/firstfooter-property/llms-full.txt): HeaderFooterSettings.firstFooter property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.
- [HeaderFooterSettings.firstHeader Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/firstheader-property/llms-full.txt): HeaderFooterSettings.firstHeader property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.
- [HeaderFooterSettings.oddFooter Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/oddfooter-property/llms-full.txt): HeaderFooterSettings.oddFooter property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.
- [HeaderFooterSettings.oddHeader Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/oddheader-property/llms-full.txt): HeaderFooterSettings.oddHeader property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.
- [HeaderFooterSettings.scaleWithDocument Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/scalewithdocument-property/llms-full.txt): HeaderFooterSettings.scaleWithDocument property in the TX Sheet Control TypeScript API for the browser, with its type boolean and a TypeScript example.

---

## Nearby

- **Previous:** [getRegisteredLanguages Function](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/getregisteredlanguages-function/llms-full.txt)
- **Next:** [HeaderFooterSettings.alignWithMargins Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/headerfootersettings/alignwithmargins-property/llms-full.txt)
