# GC.Spread.Sheets.CellTypes.CheckBoxTextAlign

## Content

# Enumeration: CheckBoxTextAlign

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

Specifies the text alignment for check box cells.

**`example`**
```
//This example creates a check box cell.
var cellType1 = new GC.Spread.Sheets.CellTypes.CheckBox();
cellType1.caption("caption");
cellType1.textTrue("true");
cellType1.textFalse("false");
cellType1.textIndeterminate("indeterminate");
cellType1.textAlign(GC.Spread.Sheets.CellTypes.CheckBoxTextAlign.bottom);
cellType1.isThreeState(true);
cellType1.boxSize(20);
activeSheet.getCell(1, 1).cellType(cellType1);
```

## Table of contents

### Enumeration members

- [bottom](GC.Spread.Sheets.CellTypes.CheckBoxTextAlign#bottom)
- [left](GC.Spread.Sheets.CellTypes.CheckBoxTextAlign#left)
- [right](GC.Spread.Sheets.CellTypes.CheckBoxTextAlign#right)
- [top](GC.Spread.Sheets.CellTypes.CheckBoxTextAlign#top)

## Enumeration members

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

• **bottom** = `1`

Specifies text is below the check box.

___

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

• **left** = `2`

Specifies text is to the left of the check box.

___

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

• **right** = `3`

Specifies text is to the right of the check box.

___

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

• **top** = `0`

Specifies text is on top of the check box.
