PrintPage Interface
One worksheet page with its cell range, content bounds, margins and resolved header/footer content.
Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.
Type-only declaration; it is not a JavaScript runtime constructor.
Members
Properties
| Property | Description |
|---|---|
| column | The column value of PrintPage. |
| content | The content value of PrintPage. |
| footer | The footer value of PrintPage. |
| header | The header value of PrintPage. |
| headings | The headings value of PrintPage. |
| number | The number value of PrintPage. |
| paper | The paper value of PrintPage. |
| row | The row value of PrintPage. |
| scale | The scale value of PrintPage. |
| source | The source value of PrintPage. |
Examples
Pass the PrintPage value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.
import type { PrintPage } from '@txtextcontrol/tx-sheet-control';
function inspectPrintPageHeadings(printPage: PrintPage) {
const value = printPage['headings'];
console.log('PrintPage.headings', value);
}