# PageScene Interface

> PageScene interface in the TX Sheet Control TypeScript API for the browser: An ordered page display list with its dimensions.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > PageScene Interface
- **428 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/pagescene/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/pagescene/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/pagescene/llms-full.txt

---

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

| Property | Description |
|---|---|
| [commands](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/pagescene/commands-property/llms-full.txt) | The commands value of PageScene. |
| [height](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/pagescene/height-property/llms-full.txt) | The height value of PageScene. |
| [number](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/pagescene/number-property/llms-full.txt) | The number value of PageScene. |
| [structure](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/pagescene/structure-property/llms-full.txt) | Includes empty table cells, which have structure even without painting commands. |
| [width](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/pagescene/width-property/llms-full.txt) | The 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.

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

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

### See Also

- [TypeScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/llms-full.txt)
- [Exporting Worksheets to PDF](https://docs.textcontrol.com/tx-sheet-control/pdf/export/llms-full.txt)

---

## In This Section

- [PageScene.commands Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/pagescene/commands-property/llms-full.txt): PageScene.commands property in the TX Sheet Control TypeScript API for the browser, with its type Command[] and a TypeScript example.
- [PageScene.height Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/pagescene/height-property/llms-full.txt): PageScene.height property in the TX Sheet Control TypeScript API for the browser, with its type number and a TypeScript example.
- [PageScene.number Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/pagescene/number-property/llms-full.txt): PageScene.number property in the TX Sheet Control TypeScript API for the browser, with its type number and a TypeScript example.
- [PageScene.structure Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/pagescene/structure-property/llms-full.txt): PageScene.structure property in the browser TypeScript API: Includes empty table cells, which have structure even without painting commands.
- [PageScene.width Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/pagescene/width-property/llms-full.txt): PageScene.width property in the TX Sheet Control TypeScript API for the browser, with its type number and a TypeScript example.

---

## Nearby

- **Previous:** [OperationCanceledError.code Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/operationcancelederror/code-property/llms-full.txt)
- **Next:** [PageScene.commands Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/pagescene/commands-property/llms-full.txt)
