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


Glossary Item Box

Gets or sets the number of the first page to display in the page navigation aids.

Syntax

Visual Basic (Declaration) 
Public Property StartPage As Integer
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As Integer
 
instance.StartPage = value
 
value = instance.StartPage
C# 
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.
C#Copy Code
FarPoint.Web.Spread.SheetViewsv=FpSpread1.ActiveSheetView;
sv.Columns.Count=5;
sv.Rows.Count=150;
sv.PageSize=30;
sv.StartPage=3;
Visual BasicCopy Code
DimsvAsFarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
sv.Columns.Count=5
sv.Rows.Count=150
sv.PageSize=30
sv.StartPage=3

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.