# HeaderFooterSettings.differentFirst Property

> HeaderFooterSettings.differentFirst property in the TX Sheet Control TypeScript API for Node.js, with its type boolean and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > HeaderFooterSettings > HeaderFooterSettings.differentFirst Property
- **504 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/headerfootersettings/differentfirst-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/headerfootersettings/differentfirst-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/headerfootersettings/differentfirst-property/llms-full.txt

---

The differentFirst value of HeaderFooterSettings.

Owner: [HeaderFooterSettings](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/headerfootersettings/llms-full.txt). Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

### Syntax

```typescript
differentFirst: boolean
```

Read through the owning object: `owner.differentFirst`. Follow the declared mutability and owning object lifetime.

### 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 { ServerSheetControl } from '@txtextcontrol/tx-sheet-control-server';

const headerFooterSettings: Awaited<
    ReturnType<ServerSheetControl['workbook']['sheets']['get']>
>['print']['settings']['headerFooter'] = {
    oddHeader: 'Invoice',
    oddFooter: 'Invoice',
    evenHeader: 'Invoice',
    evenFooter: 'Invoice',
    firstHeader: 'Invoice',
    firstFooter: 'Invoice',
    differentOddEven: false,
    scaleWithDocument: false,
    alignWithMargins: false,
    differentFirst: false,
};

console.log(headerFooterSettings['differentFirst']);
```

### Remarks

Use this member on an object from the current document. Reacquire document-bound handles after replacement/deletion. Validate arguments against the declared types and documented bounds; handle exceptions or rejected promises.

### See Also

- [HeaderFooterSettings Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/headerfootersettings/llms-full.txt)
- [Workbooks and Worksheets](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/workbooks/llms-full.txt)

---

## Nearby

- **Previous:** [HeaderFooterSettings.alignWithMargins Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/headerfootersettings/alignwithmargins-property/llms-full.txt)
- **Next:** [HeaderFooterSettings.differentOddEven Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/headerfootersettings/differentoddeven-property/llms-full.txt)
