Spread for ASP.NET 11 Product Documentation
CurrentPageIndex Property
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : CurrentPageIndex Property
Gets or sets the current page.
Syntax
'Declaration
 
Public Property CurrentPageIndex As Integer
'Usage
 
Dim instance As SheetView
Dim value As Integer
 
instance.CurrentPageIndex = value
 
value = instance.CurrentPageIndex
public int CurrentPageIndex {get; set;}
Example
This example sets the current page index.
FpSpread1.Sheets[0].RowCount = 100;
FpSpread1.Sheets[0].CurrentPageIndex = 2;
FpSpread1.Sheets(0).RowCount = 100
FpSpread1.Sheets(0).CurrentPageIndex = 2
See Also

Reference

SheetView Class
SheetView Members