{/* Do not edit this file. It is automatically generated by API Documenter. */}


## DocumentTitle

When exporting a grid using the [GridExportOptions](/refs/Interface/GridExportOptions) model and [GridBase.exportGrid()](/refs/Class/GridBase#exportgrid), set the title, subtitle, and footer of the Excel document. model for

**Signature:**

```typescript
export interface DocumentTitle
```

## Remarks

[GridExportOptions.documentTitle](/refs/Interface/GridExportOptions#documenttitle){/* */}, [documentSubtitle](/refs/Interface/GridExportOptions#documentsubtitle){/* */}, [documentTail](/refs/Interface /GridExportOptions#documenttail).

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [height](/refs/Interface/DocumentTitle#height) | number | Full height of title |
| [message](/refs/Interface/DocumentTitle#message) | string | Message (subject) to set Contents |
| [spaceBottom](/refs/Interface/DocumentTitle#spacebottom) | number | Margin below (row) |
| [spaceTop](/refs/Interface/DocumentTitle#spacetop) | number | top margin (row) |
| [styleName](/refs/Interface/DocumentTitle#stylename) | string | className to be applied to title |
| [styles](/refs/Interface/DocumentTitle#styles) | string | Styles to apply to cells |
| [visible](/refs/Interface/DocumentTitle#visible) | boolean | Whether to print to Excel |

## Properties Desc

### height

Total height of title

`Type` - number

**Remarks:**

If the height is not specified (if it is `-1`{/* */}), it is displayed as 1 row.

<hr/>

### message

Message (subject) content to set

`Type` - string

<hr/>

### spaceBottom

Margin below (row)

`Type` - number

<hr/>

### spaceTop

Top margin (row)

`Type` - number

<hr/>

### styleName

className to be applied to title

`Type` - string

**Remarks:**

If styleName is set, styles are not applied.

<hr/>

### styles

Styles to apply to cells

`Type` - string

<hr/>

### visible

Whether to print to Excel

`Type` - boolean

<hr/>