# Interface: ScannedPage

[Mobile Document Scanner API Reference](../index.md) / ScannedPage

# Interface: ScannedPage

Defined in: [src/results.ts:128](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/results.ts#L128)

A page of the scanned document.

## Properties

### boundary

> `readonly` **boundary**: [`Quadrilateral`](Quadrilateral.md)

Defined in: [src/results.ts:146](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/results.ts#L146)

The boundary that the page was rectified to, in the coordinates of `original`.
For a page that was not rectified, it is the whole image.

***

### id

> `readonly` **id**: [`PageId`](../type-aliases/PageId.md)

Defined in: [src/results.ts:130](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/results.ts#L130)

The identifier of the page, which stays the same when the page moves.

***

### index

> `readonly` **index**: `number`

Defined in: [src/results.ts:132](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/results.ts#L132)

The position of the page in the document when the document scanner made this object.

***

### origin

> `readonly` **origin**: `"camera"` \| `"file"`

Defined in: [src/results.ts:134](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/results.ts#L134)

Where the page came from.

***

### original

> `readonly` **original**: [`PageImage`](../type-aliases/PageImage.md)

Defined in: [src/results.ts:136](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/results.ts#L136)

The page as the camera or the file gave it, before any processing.

***

### processed

> `readonly` **processed**: [`PageImage`](../type-aliases/PageImage.md)

Defined in: [src/results.ts:141](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/results.ts#L141)

The page rectified to `boundary`, with every later edit applied. It can be a
raster image when `original` is a vector image.
