NativeExcel2 for .Net Developer's Reference

IWorksheet.ScrollColumn Property

Gets or sets the first visible column.

[Visual Basic]
PropertyScrollColumnAsInteger
[C#]
intScrollColumn{get;set;}
[C++]
__propertyintget_ScrollColumn();
__propertyvoidset_ScrollColumn(int);
[JScript]
functiongetScrollColumn():int
functionsetScrollColumn(int);

Property Value

The one-based index number of the column.

Example

This example sets the first visible column to 2.

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

See Also

IWorksheet Interface | NativeExcel Namespace | ScrollRow Property