GetPageTileAsync(Int32, Double, Int32, CancellationToken) Method

Definition

Assembly Broadside.Viewer.dll

Returns the tile that covers a whole page at a scale.

public ValueTask<Tile> GetPageTileAsync(int pageIndex, double scale, int rotation = 0, CancellationToken cancellationToken = default(CancellationToken))

Parameters

pageIndex
Int32

The zero-based page.

scale
Double

Pixels per point.

rotation
Int32

Rotation added to the page's own, a multiple of 90 degrees.

cancellationToken
CancellationToken

Stops loading the page.

Returns

ValueTask<Tile>
The tile, its region the whole page's pixels.

Remarks

ISO 32000-2 §14.11.2.