# Interface: RectifyLayout

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

# Interface: RectifyLayout

Defined in: [src/settings/settings.ts:283](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/settings/settings.ts#L283)

New content for the areas of the rectify screen. Each area takes a template, or
`false` to remove the area with its buttons. The document scanner always draws
the image and its boundary.

## Properties

### footer?

> `optional` **footer?**: `false` \| `HTMLTemplateElement`

Defined in: [src/settings/settings.ts:287](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/settings/settings.ts#L287)

The bar below the image. It holds undo, detect borders, and full image.

***

### header?

> `optional` **header?**: `false` \| `HTMLTemplateElement`

Defined in: [src/settings/settings.ts:285](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/settings/settings.ts#L285)

The bar above the image. It holds retake, cancel, the title, and apply.
