[]
Provides access to the history management functionality of the viewer.
[Browsable(false)]
public IHistoryApi History { get; }
Type | Description |
---|---|
IHistoryApi | An IHistoryApi instance that allows for navigating through the viewer's history. |
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.
private void ForwardButton_Click(object sender, EventArgs e)
{
if (viewer.History.Position < viewer.History.Count)
{
viewer.History.MoveNext();
}
}