Returns a page's display list, built off the UI thread (or after a yield in cooperative mode) and kept in the document's cache, so every tile of the page at every zoom replays the same list.
public ValueTask<DisplayList> GetDisplayListAsync(int pageIndex, DisplayLayers layers = DisplayLayers.Content | DisplayLayers.Annotations | DisplayLayers.FormFields | DisplayLayers.All, CancellationToken cancellationToken = default(CancellationToken))
The zero-based page.
The layers the list holds.
Stops the build at its next check (every 1,024 operators and inside long image decodes).
ISO 32000-2 §8.2 and §12.5 (layers).