NativeExcel2 for .Net Developer's Reference

IWorksheet.ScrollRow Property

Gets or sets the first visible row.

[Visual Basic]
PropertyScrollRowAsInteger
[C#]
intScrollRow{get;set;}
[C++]
__propertyintget_ScrollRow();
__propertyvoidset_ScrollRow(int);
[JScript]
functiongetScrollRow():int
functionsetScrollRow(int);

Property Value

The one-based index number of the row.

Example

This example sets the first visible row to 4.

[C#]
book.Worksheets[1].ScrollRow = 4;
[VisualBasic]
book.Worksheets(1).ScrollRow = 4
[C++]
book->Worksheets->Item[1]->ScrollRow = 4;

See Also

IWorksheet Interface | NativeExcel Namespace | ScrollColumn Property