Spread for ASP.NET 7.0 Product Documentation
StartingRowNumber Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : StartingRowNumber Property


Glossary Item Box

Gets or sets the number displayed in the first row header.

Syntax

Visual Basic (Declaration) 
Public Property StartingRowNumber As Integer
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As Integer
 
instance.StartingRowNumber = value
 
value = instance.StartingRowNumber
C# 
public int StartingRowNumber {get; set;}

Property Value

Integer number of the first row

Remarks

This property changes the number for the first row for display purposes only. Therefore, for cell references in formulas, use the row numbers as if the numbering started at 1 or A. For cell references in your code, use the row numbers as if the numbering started at 0.

To change the starting column number displayed for the first column, set the StartingColumnNumber property.

Example

This example sets the starting column and row for a SheetView object.
C#Copy Code
FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView;
sv.ColumnCount=9;
sv.PageSize=10;
sv.RowCount=20;
sv.StartingColumnNumber=2;
sv.StartingRowNumber=5;
Visual BasicCopy Code
Dim sv As FarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
sv.ColumnCount=9
sv.PageSize=10
sv.RowCount=20
sv.StartingColumnNumber=2
sv.StartingRowNumber=5

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.