com.aspose.cells
Class CellArea

java.lang.Object
    extended by com.aspose.cells.CellArea
All Implemented Interfaces:
com.aspose.cells.b.a.i

public class CellArea 
extends java.lang.Object

Represent an area of cells.

Example:

//Create Cell Area
CellArea ca = new 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
intcompareTo(java.lang.Object obj)
           Internal use only.
static CellAreacreateCellArea(int startRow, int startColumn, int endRow, int endColumn)
           Creat a cell area.
static CellAreacreateCellArea(java.lang.String startCellName, java.lang.String endCellName)
           Creat a cell area.
java.lang.StringtoString()
           Returns a string represents the current Worksheet object.
 

Field Detail

StartRow

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

EndRow

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

StartColumn

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

EndColumn

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

Constructor Detail

CellArea

public CellArea()

Method Detail

compareTo

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

toString

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

createCellArea

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

createCellArea

public static CellArea createCellArea(java.lang.String startCellName, java.lang.String endCellName)
Creat a cell area.
Parameters:
startCellName - The top-left cell of the range.
endCellName - 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.