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