Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / CellCollection Class / Item Property / Item(Int32,Int32,Int32,Int32) Property
The Row Id that corresponds to the topmost part of the range.
The Column Id that corresponds to the leftmost part of the range.
The Row Id that corresponds to the bottommost part of the range.
The Column Id that corresponds to the rightmost part of the range.


In This Topic
    Item(Int32,Int32,Int32,Int32) Property
    In This Topic
    Returns a collection of Cells in a CellRange format.
    Syntax
    'Declaration
     
    
    Public Overloads ReadOnly Property Item( _
       ByVal topLeftRowId As Integer, _
       ByVal topLeftColumnId As Integer, _
       ByVal bottomRightRowId As Integer, _
       ByVal bottomRightColumnId As Integer _
    ) As CellRange
    'Usage
     
    
    Dim instance As CellCollection
    Dim topLeftRowId As Integer
    Dim topLeftColumnId As Integer
    Dim bottomRightRowId As Integer
    Dim bottomRightColumnId As Integer
    Dim value As CellRange
     
    value = instance.Item(topLeftRowId, topLeftColumnId, bottomRightRowId, bottomRightColumnId)

    Parameters

    topLeftRowId
    The Row Id that corresponds to the topmost part of the range.
    topLeftColumnId
    The Column Id that corresponds to the leftmost part of the range.
    bottomRightRowId
    The Row Id that corresponds to the bottommost part of the range.
    bottomRightColumnId
    The Column Id that corresponds to the rightmost part of the range.
    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