NativeExcel for .Net Developer's Reference

IRangeRow Interface

Represents a row. The IRangeRow interface is a member of the IRangeRows collection.

For a list of all members of this type, see IRangeRow Members.

[Visual Basic]
PublicInterfaceIRangeRow
ImplementsIRange, IEnumerable
[C#]
publicinterfaceIRangeRow:IRange, IEnumerable
[C++]
public__gc__interfaceIRangeRow: publicIRange, IEnumerable
[JScript]
publicinterfaceIRangeRowextendsIRange, IEnumerable

Remarks

Use the IRangeRows.Item property to return the IRangeRow interface.

Use the IRange.Rows property to return the IRangeRows collection.

Example

This example changes the first row of used range.

[C#]
 IRangeRow title = book.Worksheets[1].UsedRange.Rows[1];
 title.Merge();
 title.Value = "Page title"; 
[VisualBasic]
 Dim title As IRangeRow = book.Worksheets(1).UsedRange.Rows(1)
 title.Merge()
 title.Value = "Page title" 
[C++]
 IRangeRow* title = book->Worksheets->Item[1]->UsedRange->Rows->Item[1];
 title->Merge();
 title->Value = S"Page title"; 

Requirements

Namespace: NativeExcel

Assembly: NativeExcel (in NativeExcel.dll)

See Also

IRangeRow Members | NativeExcel Namespace | IRangeRows.Item Property | IRange.Rows Property | IRangeRows Interface