# Type Alias: ModeName

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

# Type Alias: ModeName

> **ModeName** = `"afterCapture"` \| `"fromEdit"` \| `"filter"`

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

The name of a mode of the rectify or edit screen. The rectify screen always shows
one of its two modes. The edit screen shows its pages with no mode, or with one mode
over them.
