Viewer Constructor (Stream, Boolean) |
Initializes new instance of
Viewer class.
Namespace: GroupDocs.ViewerAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.5
Syntaxpublic Viewer(
Stream stream,
bool leaveOpen
)
Public Sub New (
stream As Stream,
leaveOpen As Boolean
)
public:
Viewer(
Stream^ stream,
bool leaveOpen
)
new :
stream : Stream *
leaveOpen : bool -> Viewer
Parameters
- stream
- Type: System.IOStream
The file stream. - leaveOpen
- Type: SystemBoolean
Field Value
Type:
true to leave the stream open after the Viewer object is disposed; otherwise, Field Value
Type:
false.
Exceptions
Remarks
See Also