# Type Alias: ScanOutput

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

# Type Alias: ScanOutput

> **ScanOutput** = \{ `document`: `Blob`; `format`: `"pdf"`; \} \| \{ `document`: `Blob`; `format`: `"tiff"`; \} \| \{ `format`: `"images"`; `images`: readonly `Blob`[]; \}

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

The scanned document, encoded as [ScannerSettings.output](../interfaces/ScannerSettings.md#output) asks. Without
that setting, the result has no `ScanOutput`.

## Union Members

### Type Literal

\{ `document`: `Blob`; `format`: `"pdf"`; \}

Every page in one PDF.

***

### Type Literal

\{ `document`: `Blob`; `format`: `"tiff"`; \}

Every page in one TIFF.

***

### Type Literal

\{ `format`: `"images"`; `images`: readonly `Blob`[]; \}

One image per page, in page order.
