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

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

Parameters

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