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-server. Version: 2.0.0.

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

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.

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

See Also