Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / RowCollection Class
Members Example


In This Topic
    RowCollection Class
    In This Topic
    Represents a collection of Rows in the Worksheet.  
    Object Model
    RowCollection ClassRow Class
    Syntax
    'Declaration
     
    
    <DefaultMemberAttribute("Item")>
    Public Class RowCollection 
       Inherits WorksheetElement
    'Usage
     
    
    Dim instance As RowCollection
    [DefaultMember("Item")]
    public class RowCollection : WorksheetElement 
    Example
    using( var doc = Workbook.Load( "test.xlsx") )
      {
        var worksheet = doc.Worksheets[ 0 ];        
        worksheet.Rows[ 1 ].Height = 25d;    // Sets second row height.
        worksheet.Rows[ 2 ].Cells[ 3 ].Value = 33d;  // Sets “D3” value.
        doc.Save();
      }
    Inheritance Hierarchy

    System.Object
       Xceed.Workbooks.NET.WorkbookElement
          Xceed.Workbooks.NET.WorksheetElement
             Xceed.Workbooks.NET.RowCollection

    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