TX Sheet Control

PrintHeaderFooter Interface

Interface

Resolved header/footer sections for one page, after field expansion and first/even-page selection.

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

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

Members

Properties

PropertyDescription
fontScaleThe fontScale value of PrintHeaderFooter.
rawThe raw value of PrintHeaderFooter.
runsThe runs value of PrintHeaderFooter.
textThe text value of PrintHeaderFooter.
widthThe width value of PrintHeaderFooter.
xThe x value of PrintHeaderFooter.
yThe y value of PrintHeaderFooter.

Examples

Pass the PrintHeaderFooter value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

import type { PrintHeaderFooter } from '@txtextcontrol/tx-sheet-control';

function inspectPrintHeaderFooterRuns(printHeaderFooter: PrintHeaderFooter) {
    const value = printHeaderFooter['runs'];
    console.log('PrintHeaderFooter.runs', value);
}

See Also