Open(ReadOnlyMemory, ViewerOptions?) Method

Definition

Assembly Broadside.Viewer.dll

Opens a document held in memory.

public static DocumentSession Open(ReadOnlyMemory<byte> bytes, ViewerOptions? options)

Parameters

bytes
ReadOnlyMemory<Byte>

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

options
ViewerOptions

The session's options, or null for defaults.

Returns

DocumentSession
The session; the caller closes it.

Remarks

ISO 32000-2 §7.5.