Spread for ASP.NET 11 Product Documentation
StartPage Property
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : StartPage Property
Gets or sets the number of the first page to display in the page navigation aids.
Syntax
'Declaration
 
Public Property StartPage As Integer
'Usage
 
Dim instance As SheetView
Dim value As Integer
 
instance.StartPage = value
 
value = instance.StartPage
public int StartPage {get; set;}

Property Value

Integer number of the first page
Remarks
This property is available at run time only.
Example
This example creates a spreadsheet with 5 columns, 150 rows and a page size of 30 rows. When first viewed, the pager displays the third page as the first page in the list.
FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView;
sv.Columns.Count=5;
sv.Rows.Count=150;
sv.PageSize=30;
sv.StartPage=3;
Dim sv As FarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
sv.Columns.Count=5
sv.Rows.Count=150
sv.PageSize=30
sv.StartPage=3
See Also

Reference

SheetView Class
SheetView Members
Pager Property
GotoPage Method

User-Task Documentation

Customizing Page Navigation