Viewer Constructor (Stream, LoadOptions)
Initializes new instance of Viewer class.

Namespace: GroupDocs.Viewer
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.9
Syntax
public Viewer(
	Stream stream,
	LoadOptions loadOptions
)

Parameters

stream
Type: System.IOStream
The file stream.
loadOptions
Type: GroupDocs.Viewer.OptionsLoadOptions
The document load options.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when stream is null.
ArgumentNullExceptionThrown when loadOptions is null.
Remarks
Learn more
See Also