Spread ASP.NET 6.0 Product Documentation
StartingColumnNumber Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : StartingColumnNumber Property


Glossary Item Box

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

Syntax

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

Property Value

Integer number of the first column

Remarks

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.

Example

This example sets the starting column and row for a SheetView object.
C#Copy Code
FarPoint.Web.Spread.SheetViewsv=FpSpread1.ActiveSheetView;
sv.ColumnCount=9;
sv.PageSize=10;
sv.RowCount=20;
sv.StartingColumnNumber=2;
sv.StartingRowNumber=5;
Visual BasicCopy Code
DimsvAsFarPoint.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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.