Xceed Workbooks for .NET v1.4 Documentation
DeleteRows Method


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > Worksheet Class : DeleteRows Method
The Id of the Row that is currently located where the deletion will start. The Ids start at 0.
The number of Rows that will be deleted. The default value is 1.
Deletes Rows at a specific index in the Worksheet.
Syntax
'Declaration

 

Public Sub DeleteRows( _

   ByVal rowId As Integer, _

   Optional ByVal count As Integer _

) 
'Usage

 

Dim instance As Worksheet

Dim rowId As Integer

Dim count As Integer

 

instance.DeleteRows(rowId, count)
public void DeleteRows( 

   int rowId,

   int count

)

Parameters

rowId
The Id of the Row that is currently located where the deletion will start. The Ids start at 0.
count
The number of Rows that will be deleted. The default value is 1.
Remarks
All the Rows that follow the deletion point will be shifted up to cover for the gap left by the deleted Rows.
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

Worksheet Class
Worksheet Members