ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Viewer.Win Assembly / GrapeCity.ActiveReports.Viewer.Win Namespace / Viewer Class / History Property
Example

In This Topic
    History Property (Viewer)
    In This Topic
    Provides access to the history management functionality of the viewer.
    Syntax
    'Declaration
     
    Public ReadOnly Property History As IHistoryApi
    public IHistoryApi History {get;}

    Property Value

    An GrapeCity.Viewer.Common.IHistoryApi instance that allows for navigating through the viewer's history.
    Remarks
    This property enables manipulation of the viewer's navigation history, allowing for operations such as moving forward or backward through previously viewed documents or pages.
    Example
    private void ForwardButton_Click(object sender, EventArgs e)
    {
        if (viewer.History.Position < viewer.History.Count)
        {
            viewer.History.MoveNext();
        }
    }
    See Also