TX Sheet Control

PageScene Interface

Interface

An ordered page display list with its dimensions; replay preserves clipping and transforms across renderers.

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

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

Members

Properties

PropertyDescription
commandsThe commands value of PageScene.
heightThe height value of PageScene.
numberThe number value of PageScene.
structureIncludes empty table cells, which have structure even without painting commands.
widthThe width value of PageScene.

Examples

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

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

function inspectPageSceneWidth(pageScene: PageScene) {
    const value = pageScene['width'];
    console.log('PageScene.width', value);
}

See Also