All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspose.cells.CellArea.html Maven / Gradle / Ivy

There is a newer version: 23.1
Show newest version





CellArea




com.aspose.cells
Class CellArea

java.lang.Object
    extended by com.aspose.cells.CellArea
All Implemented Interfaces:
java.lang.Comparable

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;


Constructor Summary
CellArea()
          
 
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.
 
Method Summary
intcompareTo(java.lang.Object obj)
           Internal use only.
static CellAreacreateCellArea(int startRow, int startColumn, int endRow, int endColumn)
           Creates a cell area.
static CellAreacreateCellArea(java.lang.String startCellName, java.lang.String endCellName)
           Creates a cell area.
java.lang.StringtoString()
           Returns a string represents the current Worksheet object.
 

Constructor Detail

CellArea

public CellArea()

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.

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)
Creates 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)
Creates 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.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy