Opens and creates documents under one configuration. The static Open(String) methods use an engine too, so both paths behave identically.
public sealed class PdfEngine
An engine is immutable and safe to share between threads; it holds no global or static state, so two engines with different options never interfere. Its options are copied at construction.
kind:method, kind:property, kind:ctor. Press Esc to clear.PdfEngine()Initializes a new instance of the PdfEngine class with default options.PdfEngine(PdfOptions)Initializes a new instance of the PdfEngine class.PdfEngine(IOptions<PdfOptions>, ILoggerFactory?)Initializes a new instance of the PdfEngine class from the options pattern: the constructor dependency injection uses, which AddBroadside(IServiceCollection) registers.Create()Creates a new document with one empty US Letter page (612 by 792 points).Open(Stream, PdfCredentials)Opens the encrypted PDF file held by stream, from its current position, with credentials.Open(Stream)Opens the PDF file held by stream, from its current position.Open(ReadOnlyMemory<Byte>, PdfCredentials)Opens the encrypted PDF file held in bytes with credentials.Open(ReadOnlyMemory<Byte>)Opens the PDF file held in bytes.Open(String, PdfCredentials)Opens the encrypted PDF file at path with credentials.Open(String)Opens the PDF file at path.OpenAsync(Stream, CancellationToken)Opens the PDF file held by stream, from its current position, reading a non-seekable stream asynchronously.OpenAsync(Stream)Opens the PDF file held by stream, from its current position, reading a non-seekable stream asynchronously.OpenAsync(HttpClient, Uri, CancellationToken)Opens the remote PDF file at uri through HTTP range requests: the end of the file first, then only the byte ranges of the objects in use. A server that does not serve ranges sends the whole file, which is then read like a stream.OpenAsync(HttpClient, Uri)Opens the remote PDF file at uri through HTTP range requests.