CellArea
Contents
[
Hide
]CellArea class
Represent an area of cells.
Example
const { CellArea } = AsposeCells;
//Create Cell Area
var ca = new CellArea();
ca.startRow = 0;
ca.endRow = 0;
ca.startColumn = 0;
ca.endColumn = 0;
Constructors
| Name | Description |
|---|---|
| constructor() | Default Constructor. |
Properties
| Name | Type | Description |
|---|---|---|
| startRow | number | Gets or sets the start row of this area. |
| startColumn | number | Gets or sets the start column of this area. |
| endRow | number | Gets or sets the end row of this area. |
| endColumn | number | Gets or sets the end column of this area. |
Methods
| Method | Description |
|---|---|
| toString() | Returns a string represents the current cell area object. |
| static createCellArea(number, number, number, number) | Creates a cell area. |
| static createCellArea(string, string) | Creates a cell area. |
constructor()
Default Constructor.
constructor();
toString()
Returns a string represents the current cell area object.
toString() : string;
createCellArea(number, number, number, number)
Creates a cell area.
static createCellArea(startRow: number, startColumn: number, endRow: number, endColumn: number) : CellArea;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| startRow | number | The start row. |
| startColumn | number | The start column. |
| endRow | number | The end row. |
| endColumn | number | The end column. |
Returns
createCellArea(string, string)
Creates a cell area.
static createCellArea(startCellName: string, endCellName: string) : CellArea;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| startCellName | string | The top-left cell of the range. |
| endCellName | string | The bottom-right cell of the range. |
Returns