PrintContext Type
Public type for PrintContext.
Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.
Type-only declaration; it is not a JavaScript runtime constructor.
Syntax
type PrintContext = Omit<PrintLayoutOptions, 'rowHeights'>;
Members
Properties
Examples
Pass the PrintContext value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.
import type { PrintContext } from '@txtextcontrol/tx-sheet-control';
function inspectPrintContextDate(printContext: PrintContext) {
const value = printContext['date'];
console.log('PrintContext.date', value);
}