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) | |
| Internal use only. | ||
static function | createCellArea(startRow, startColumn, endRow, endColumn) | |
| Creats a cell area. | ||
static function | createCellArea(startCellName, endCellName) | |
| Creats a cell area. | ||
function | toString() | |
| Returns a string represents the current Worksheet object. | ||
| Field Detail |
|---|
StartRow | |
Number StartRow | |
EndRow | |
Number EndRow | |
StartColumn | |
Number StartColumn | |
EndColumn | |
Number EndColumn | |
| Constructor Detail |
|---|
function CellArea()
| Method Detail |
|---|
compareTo | |
function compareTo(obj) | |
obj: Object - toString | |
function toString() | |
createCellArea | |
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.createCellArea | |
static function createCellArea(startCellName, endCellName) | |
startCellName: String - The top-left cell of the range.endCellName: String - The bottom-right cell of the range.