Viewer Constructor (FuncStream, FuncLoadOptions) |
Note: This API is now obsolete.
Initializes new instance of
Viewer class.
Namespace: GroupDocs.ViewerAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 21.2
Syntax[ObsoleteAttribute("This constructor is obsolete. Use constructor that accepts stream instead of stream factory.")]
public Viewer(
Func<Stream> getFileStream,
Func<LoadOptions> getLoadOptions
)
<ObsoleteAttribute("This constructor is obsolete. Use constructor that accepts stream instead of stream factory.")>
Public Sub New (
getFileStream As Func(Of Stream),
getLoadOptions As Func(Of LoadOptions)
)
public:
[ObsoleteAttribute(L"This constructor is obsolete. Use constructor that accepts stream instead of stream factory.")]
Viewer(
Func<Stream^>^ getFileStream,
Func<LoadOptions^>^ getLoadOptions
)
[<ObsoleteAttribute("This constructor is obsolete. Use constructor that accepts stream instead of stream factory.")>]
new :
getFileStream : Func<Stream> *
getLoadOptions : Func<LoadOptions> -> Viewer
Parameters
- getFileStream
- Type: GroupDocs.Viewer.CommonFuncStream
The method that returns readable stream. - getLoadOptions
- Type: GroupDocs.Viewer.CommonFuncLoadOptions
The methods that returns document load options.
Exceptions
Remarks
See Also