# GC.Spread.Sheets.CellTypes.DivergeDirection

## Content

# Enumeration: DivergeDirection

[Sheets](../modules/GC.Spread.Sheets).[CellTypes](../modules/GC.Spread.Sheets.CellTypes).DivergeDirection

 Specifies what is the diverge direction of the diagonal cell type

**`readonly`**

**`example`**
```javascript
//This example uses the EditorValueType enumeration.
var diagonalCellType = new GC.Spread.Sheets.CellTypes.Diagonal();
diagonalCellType.divergeDirection(GC.Spread.Sheets.CellTypes.DivergeDirection.topLeftToBottomRight)
activeSheet.getCell(2, 2).cellType(diagonalCellType);
```

## Table of contents

### Enumeration members

- [bottomLeftToTopRight](GC.Spread.Sheets.CellTypes.DivergeDirection#bottomlefttotopright)
- [topLeftToBottomRight](GC.Spread.Sheets.CellTypes.DivergeDirection#toplefttobottomright)

## Enumeration members

### <a id="bottomlefttotopright" name="bottomlefttotopright"></a> bottomLeftToTopRight

• **bottomLeftToTopRight** = `1`

Represents diverge from the BottomLeft to the TopRight.

___

### <a id="toplefttobottomright" name="toplefttobottomright"></a> topLeftToBottomRight

• **topLeftToBottomRight** = `0`

Represents diverge from the TopLeft to the BottomRight.
