com.aspose.cells

Class CellArea

  • java.lang.Object
    • com.aspose.cells.CellArea
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
 
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)
Creats a cell area.
static CellAreacreateCellArea(java.lang.String startCellName, java.lang.String endCellName)
Creats 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)
        Creats 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)
        Creats a cell area.
        Parameters:
        startCellName - The top-left cell of the range.
        endCellName - The bottom-right cell of the range.
        Returns:
        Return a CellArea.