Opens the PDF file held by stream, from its current position, with default options; a non-seekable stream is read asynchronously.
public static Task<PdfDocument> OpenAsync(Stream stream, CancellationToken cancellationToken)
The stream. It is not disposed; a seekable stream must stay open and unchanged until the document is disposed.
Cancels reading a non-seekable stream.
ISO 32000-2 §7.5. The same as OpenAsync(Stream, CancellationToken) on an engine with default options.