Example:
//Create Cell Area $ca = new cells\CellArea(); $ca->StartRow = 0; $ca->EndRow = 0; $ca->StartColumn = 0; $ca->EndColumn = 0;
Field Summary | ||
---|---|---|
Number | StartRow | |
Gets or set the start row of this area.
|
||
Number | EndRow | |
Gets or set the end row of this area.
|
||
Number | StartColumn | |
Gets or set the start column of this area.
|
||
Number | EndColumn | |
Gets or set the end column of this area.
|
Constructor Summary |
---|
CellArea()
|
Method Summary | ||
---|---|---|
function | compareTo(obj) | |
Compare two CellArea objects according to their top-left corner.
|
||
static function | createCellArea(startRow, startColumn, endRow, endColumn) | |
Creates a cell area.
|
||
static function | createCellArea(startCellName, endCellName) | |
Creates a cell area.
|
||
function | toString() | |
Returns a string represents the current cell area object.
|
Number StartRow
Number EndRow
Number StartColumn
Number EndColumn
function compareTo(obj)
obj: Object
- function toString()
static function createCellArea(startRow, startColumn, endRow, endColumn)
startRow: Number
- The start row.startColumn: Number
- The start column.endRow: Number
- The end row.endColumn: Number
- The end column.static function createCellArea(startCellName, endCellName)
startCellName: String
- The top-left cell of the range.endCellName: String
- The bottom-right cell of the range.