Open(Stream, ViewerOptions?) Method

Definition

Assembly Broadside.Viewer.dll

Opens a document from a stream, which the caller keeps open for the session's lifetime and disposes after it.

public static DocumentSession Open(Stream stream, ViewerOptions? options)

Parameters

stream
Stream

The stream; readable and seekable.

options
ViewerOptions

The session's options, or null for defaults.

Returns

DocumentSession
The session; the caller closes it.

Remarks

ISO 32000-2 §7.5.