RenderTileAsync(Tile, IRenderSurface, CancellationToken) Method

Definition

Assembly Broadside.Viewer.dll

Renders one tile from the page's cached display list and presents it to surface on the awaiting context. A render cancelled by its token or by closing the session never reaches the surface.

public Task RenderTileAsync(Tile tile, IRenderSurface surface, CancellationToken cancellationToken = default(CancellationToken))

Parameters

tile
Tile

The tile.

surface
IRenderSurface

Where the finished pixels go.

cancellationToken
CancellationToken

Stops the render.

Returns

Task
A task that completes once the tile has been presented.

Remarks

ISO 32000-2 §8.3.2.2 and §10.7.1. Spec #33 viewer capabilities 1 and 2.