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

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

Parameters

getFileStream
Type: SystemFuncStream
The method that returns readable stream.
getLoadOptions
Type: SystemFuncLoadOptions
The methods that returns document load options.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when getFileStream is null.
ArgumentNullExceptionThrown when getLoadOptions is null.
Remarks
Learn more
See Also