aspose.cells

Class CellArea

Represent an area of cells.

Example:

//Create Cell Area
$ca = new cells\CellArea();
$ca->StartRow = 0;
$ca->EndRow = 0;
$ca->StartColumn = 0;
$ca->EndColumn = 0;

Field Summary
NumberStartRow
Gets or set the start row of this area.
NumberEndRow
Gets or set the end row of this area.
NumberStartColumn
Gets or set the start column of this area.
NumberEndColumn
Gets or set the end column of this area.
 
Constructor Summary
 
Method Summary
functioncompareTo(obj)
Internal use only.
static functioncreateCellArea(startRow, startColumn, endRow, endColumn)
Creats a cell area.
static functioncreateCellArea(startCellName, endCellName)
Creats a cell area.
functiontoString()
Returns a string represents the current Worksheet object.
 

    • Field Detail

      • StartRow

        Number StartRow
        Gets or set the start row of this area.
      • EndRow

        Number EndRow
        Gets or set the end row of this area.
      • StartColumn

        Number StartColumn
        Gets or set the start column of this area.
      • EndColumn

        Number EndColumn
        Gets or set the end column of this area.
    • Constructor Detail

      • CellArea

        function CellArea()
    • Method Detail

      • compareTo

        function compareTo(obj)
        Internal use only.
        Parameters:
        obj: Object -
        Returns:
      • toString

        function toString()
        Returns a string represents the current Worksheet object.
        Returns:
      • createCellArea

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

        static function 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.