# contentHeight

> FullCalendar v6 documentation, for an old release. Web version: https://legacy.fullcalendar.io/v6/contentHeight
>
> Latest version (v7): https://fullcalendar.io/docs/contentHeight.md

Sets the height of the *view* area of the calendar.

<div class='spec' markdown='1'>
Integer, `"auto"`
</div>

By default, this option is unset and the calendar's height is calculated by [aspectRatio](https://legacy.fullcalendar.io/v6/aspectRatio.md).

If an integer is specified, the height of the view will be guaranteed to be that exact pixel height.
If the contents will not fit within the height, scrollbars will appear.

If `"auto"` is specified, the view's contents will assume a natural height and no scrollbars will be used.

Example usage of `contentHeight`:

```js
var calendar = new FullCalendar.Calendar(calendarEl, {
  contentHeight: 600
});
```

## Setter

You can dynamically set a calendar's contentHeight after initialization:

```js
calendar.setOption('contentHeight', 650);
```
