## CellRange class

Encapsulates the object that represents a range of cells within a spreadsheet.

```csharp
public class CellRange
```

## Constructors

| Name | Description |
| --- | --- |
| [CellRange](cellrange/#constructor)() | Default Constructor. |
| [CellRange](cellrange/#constructor_2)(string, string) | CellRange Constructor. |
| [CellRange](cellrange/#constructor_1)(int, int, int, int) | CellRange Constructor. |

## Properties

| Name | Description |
| --- | --- |
| [Address](../../aspose.cells.griddesktop/cellrange/address/) { get; } | Gets the address of CellRange object. |
| [Columns](../../aspose.cells.griddesktop/cellrange/columns/) { get; } | Gets total columns of CellRange object. |
| [EndColumn](../../aspose.cells.griddesktop/cellrange/endcolumn/) { get; set; } | Gets or sets the index of the end column of the range. |
| [EndRow](../../aspose.cells.griddesktop/cellrange/endrow/) { get; set; } | Gets or sets the index of the end row of the range. |
| [Rows](../../aspose.cells.griddesktop/cellrange/rows/) { get; } | Gets total rows of CellRange object. |
| [StartColumn](../../aspose.cells.griddesktop/cellrange/startcolumn/) { get; set; } | Gets or sets the index of the start column of the range. |
| [StartRow](../../aspose.cells.griddesktop/cellrange/startrow/) { get; set; } | Gets or sets the index of the start row of the range. |
| [Worksheet](../../aspose.cells.griddesktop/cellrange/worksheet/) { get; } | Gets worksheet object. |

## Methods

| Name | Description |
| --- | --- |
| [AutoFill](../../aspose.cells.griddesktop/cellrange/autofill/)(CellRange, GridAutoFillType) | Automaticall fill the target range. |
| [Copy](../../aspose.cells.griddesktop/cellrange/copy/)(CellRange) | Copies from another CellRange object. |
| [getName](../../aspose.cells.griddesktop/cellrange/getname/)() | get the name defined for the cellrange.if no name defined for this cellrange ,just return null |
| [Inside](../../aspose.cells.griddesktop/cellrange/inside/)(CellRange) | check whether current CellRange is inside in the target CellRange |
| override [ToString](../../aspose.cells.griddesktop/cellrange/tostring/)() | Returns a String that represents the current CellRange. |

### See Also

* namespace [Aspose.Cells.GridDesktop](../../aspose.cells.griddesktop/)
* assembly [Aspose.Cells.GridDesktop](../../)


