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

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

Parameters

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