Skip to main content

IXlRow.RowIndex Property

Gets the zero-based index of the current row.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v24.2.Core.dll

Declaration

int RowIndex { get; }

Property Value

Type Description
Int32

An integer specifying the position of the row in the worksheet.

Remarks

Worksheet cells are organized into rows and columns. The number of rows and columns is permanently fixed and depends on the output file format (1,048,576 rows and 16,384 columns for XLSX files, and 65,536 rows and 256 columns for XLS files). Use the RowIndex property to obtain the zero-based index of the current row in a worksheet.

SpreadsheetControl_Row_Column_Indexes

To obtain the index of the row that contains the specified cell, use the IXlCell.RowIndex property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the RowIndex property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also