Spread for ASP.NET 7.0 Product Documentation
StartPage Property
See Also  Example Support Options
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.SheetView sv=FpSpread1.ActiveSheetView;
sv.Columns.Count=5;
sv.Rows.Count=150;
sv.PageSize=30;
sv.StartPage=3;
Visual BasicCopy Code
Dim sv As FarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
sv.Columns.Count=5
sv.Rows.Count=150
sv.PageSize=30
sv.StartPage=3

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.