Xceed Workbooks for .NET v1.4 Documentation
CellRange Class
Members  Example 


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace : CellRange Class

Represents a rectangular range of Cells. The top-left and bottom-right Cells delimit the range.

Syntax
Remarks
This class derives from StyledRange.
Example
using( var doc = Workbook.Load( "test.xlsx") )

  {

    var worksheet = doc.Worksheets[ 0 ];        

    var firstTableCellRange = worksheet.Tables[ 0 ].CellRange;



    var cellRangeStartCell = firstTableCellRange.StartingElement;

    var cellRangeEndCell = firstTableCellRange.EndingElement;

  }
Inheritance Hierarchy

System.Object
   Xceed.Workbooks.NET.WorkbookElement
      Xceed.Workbooks.NET.WorksheetElement
         Xceed.Workbooks.NET.StyledWorksheetElement
            Xceed.Workbooks.NET.StyledRange<T>
               Xceed.Workbooks.NET.CellRange

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CellRange Members
Xceed.Workbooks.NET Namespace