LoadPageAsync(Int32, CancellationToken) Method

Definition

Assembly Broadside.Viewer.dll

Loads (once) a page's selectable text: its display list, hit-test index and reading order.

public ValueTask<SelectableText> LoadPageAsync(int pageIndex, CancellationToken cancellationToken = default(CancellationToken))

Parameters

pageIndex
Int32

The zero-based page.

cancellationToken
CancellationToken

Cancels the load.

Returns

ValueTask<SelectableText>
The page's selectable text.