Skip to main content
A newer version of this page is available. .

IXlRow Interface

Represents a single row in a worksheet.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v18.1.Core.dll

Declaration

public interface IXlRow :
    IDisposable

The following members accept/return IXlRow objects:

Remarks

The IXlRow object specifies an individual row in a worksheet and can be created using the IXlSheet.CreateRow method. Use this object’s properties and methods to manage worksheet rows. For details, see the Rows and Columns section of examples.

Example

The example below demonstrates how to create and modify a row in a worksheet. To do this, use the IXlSheet.CreateRow method. To specify where a created row should be located in a worksheet, pass a zero-based row index to the method as a parameter.

// Create a new worksheet.
using (IXlSheet sheet = document.CreateSheet()) 
{
    // Create the third row and set its height to 40 pixels.
    using (IXlRow row = sheet.CreateRow(2))
    {
        row.HeightInPixels = 40;
    }
}

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

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