Blazor | ComponentOne
C1.Blazor.Viewer Assembly / C1.Blazor.Viewer Namespace / FlexViewer Class / SetPageIndex Method
The 0-based index of the page.
Specifies whether the previous position should be added to the history.

In This Topic
    SetPageIndex Method
    In This Topic
    Sets the 0-based index of the currently visible page.
    Syntax
    'Declaration
     
    
    Public Sub SetPageIndex( _
       ByVal pageIndex As Integer, _
       ByVal updateHistory As Boolean _
    ) 
    public void SetPageIndex( 
       int pageIndex,
       bool updateHistory
    )

    Parameters

    pageIndex
    The 0-based index of the page.
    updateHistory
    Specifies whether the previous position should be added to the history.
    See Also