Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / CurrentPageIndex Property
Example


In This Topic
    CurrentPageIndex Property
    In This Topic
    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