Open(ReadOnlyMemory) Method

Definition

Assembly Broadside.Viewer.dll

Opens a document held in memory with default options.

public static DocumentSession Open(ReadOnlyMemory<byte> bytes)

Parameters

bytes
ReadOnlyMemory<Byte>

The file's bytes, which must not change while the session is open.

Returns

DocumentSession
The session; the caller closes it.

Remarks

ISO 32000-2 §7.5.