# GC.Spread.Sheets.SelectionUnit

## Content

# Enumeration: SelectionUnit

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

Specifies the smallest unit users or the application can select.

**`example`**
```
//This example sets the unit type.
activeSheet.selectionUnit(GC.Spread.Sheets.SelectionUnit.row);
activeSheet.selectionPolicy(GC.Spread.Sheets.SelectionPolicy.range);
```

## Table of contents

### Enumeration members

- [cell](GC.Spread.Sheets.SelectionUnit#cell)
- [column](GC.Spread.Sheets.SelectionUnit#column)
- [row](GC.Spread.Sheets.SelectionUnit#row)

## Enumeration members

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

• **cell** = `0`

Indicates that the smallest unit that can be selected is a cell.

___

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

• **column** = `2`

Indicates that the smallest unit that can be selected is a column.

___

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

• **row** = `1`

Indicates that the smallest unit that can be selected is a row.
