com.aspose.cells

Class CellArea

  • java.lang.Object
    • com.aspose.cells.CellArea
  • All Implemented Interfaces:
    com.aspose.cells.b.a.zi
    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
 
Method Summary
intcompareTo(java.lang.Objectobj)
Internal use only.
staticCellAreacreateCellArea(intstartRow, intstartColumn, intendRow, intendColumn)
Creats a cell area.
staticCellAreacreateCellArea(java.lang.StringstartCellName, java.lang.StringendCellName)
Creats 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)
        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.