# GC.Spread.Sheets.VerticalPosition

## Content

# Enumeration: VerticalPosition

[Spread](../modules/GC.Spread).[Sheets](../modules/GC.Spread.Sheets).VerticalPosition

Specifies the vertical position of the cell or row in the component.

**`example`**
```javascript
//This example uses the VerticalPosition enumeration.
activeSheet.setActiveCell(10,5);
activeSheet.showCell(10, 5, GC.Spread.Sheets.VerticalPosition.top, GC.Spread.Sheets.HorizontalPosition.center);
```

## Table of contents

### Enumeration members

- [bottom](GC.Spread.Sheets.VerticalPosition#bottom)
- [center](GC.Spread.Sheets.VerticalPosition#center)
- [nearest](GC.Spread.Sheets.VerticalPosition#nearest)
- [top](GC.Spread.Sheets.VerticalPosition#top)

## Enumeration members

### <a id="bottom" name="bottom"></a> bottom

• **bottom** = `2`

 Positions the cell or row at the bottom.

___

### <a id="center" name="center"></a> center

• **center** = `1`

 Positions the cell or row in the center.

___

### <a id="nearest" name="nearest"></a> nearest

• **nearest** = `3`

 Positions the cell or row at the nearest edge.

___

### <a id="top" name="top"></a> top

• **top** = `0`

 Positions the cell or row at the top.
