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

Namespace: GroupDocs.Viewer
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 20.11
Syntax
public Viewer(
	Func<Stream> getFileStream,
	Func<LoadOptions> getLoadOptions,
	ViewerSettings settings
)

Parameters

getFileStream
Type: GroupDocs.Viewer.CommonFuncStream
The method that returns readable stream.
getLoadOptions
Type: GroupDocs.Viewer.CommonFuncLoadOptions
The methods that returns document load options.
settings
Type: GroupDocs.ViewerViewerSettings
The Viewer settings.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when getFileStream is null.
ArgumentNullExceptionThrown when getLoadOptions is null.
ArgumentNullExceptionThrown when settings is null.
Remarks
Learn more
See Also