FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : StartingColumnNumber Property |
'Declaration Public Property StartingColumnNumber As Integer
'Usage Dim instance As SheetView Dim value As Integer instance.StartingColumnNumber = value value = instance.StartingColumnNumber
public int StartingColumnNumber {get; set;}
This property gets or sets the number for the first column for display purposes only. Therefore, for cell references in formulas, use the column numbers as if the numbering started at 1 or A. For cell references in your code, use the column numbers as if the numbering started at 0. The sheet displays subsequent column numbers sequentially.
To change the starting row number displayed for the first row, set the StartingRowNumber property.
FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView; sv.ColumnCount=9; sv.PageSize=10; sv.RowCount=20; sv.StartingColumnNumber=2; sv.StartingRowNumber=5;
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
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional