HeaderFooterSettings Interface
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 | The alignWithMargins value of HeaderFooterSettings. |
| differentFirst | The differentFirst value of HeaderFooterSettings. |
| differentOddEven | The differentOddEven value of HeaderFooterSettings. |
| evenFooter | The evenFooter value of HeaderFooterSettings. |
| evenHeader | The evenHeader value of HeaderFooterSettings. |
| firstFooter | The firstFooter value of HeaderFooterSettings. |
| firstHeader | The firstHeader value of HeaderFooterSettings. |
| oddFooter | The oddFooter value of HeaderFooterSettings. |
| oddHeader | The oddHeader value of HeaderFooterSettings. |
| scaleWithDocument | 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.
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,
};