LoadPageAsync(Int32, CancellationToken) Method

Definition

Assembly Broadside.Viewer.dll

Loads (once) a page's annotations into the layer.

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

Parameters

pageIndex
Int32

The zero-based page.

cancellationToken
CancellationToken

Cancels the load (a remote page's fetch).

Returns

ValueTask<Int32>
How many annotations of the page take part (see Index).