asposecells.api
Class CellArea

Represent an area of cells.

Example:

# Create Cell Area
ca = CellArea()
ca.StartRow = 0
ca.EndRow = 0
ca.StartColumn = 0
ca.EndColumn = 0

Field Summary
intStartRow
           Gets or set the start row of this area.
intEndRow
           Gets or set the end row of this area.
intStartColumn
           Gets or set the start column of this area.
intEndColumn
           Gets or set the end column of this area.
 
Constructor Summary
CellArea()
          
 
Method Summary
methodcompareTo(obj)
           Internal use only.
static methodcreateCellArea(startRow, startColumn, endRow, endColumn)
           Creats a cell area.
static methodcreateCellArea(startCellName, endCellName)
           Creats a cell area.
methodtoString()
           Returns a string represents the current Worksheet object.
 

Field Detail

StartRow

int StartRow
Gets or set the start row of this area.

EndRow

int EndRow
Gets or set the end row of this area.

StartColumn

int StartColumn
Gets or set the start column of this area.

EndColumn

int EndColumn
Gets or set the end column of this area.

Constructor Detail

CellArea

CellArea()

Method Detail

compareTo

int compareTo(obj)
Internal use only.
Parameters:
obj: Object -
Returns:

toString

String toString()
Returns a string represents the current Worksheet object.
Returns:

createCellArea

static CellArea createCellArea(startRow, startColumn, endRow, endColumn)
Creats a cell area.
Parameters:
startRow: int - The start row.
startColumn: int - The start column.
endRow: int - The end row.
endColumn: int - The end column.
Returns:
Return a CellArea.

createCellArea

static CellArea createCellArea(startCellName, endCellName)
Creats a cell area.
Parameters:
startCellName: String - The top-left cell of the range.
endCellName: String - The bottom-right cell of the range.
Returns:
Return a CellArea.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.