| 
Document Constructor (Stream, FileFormat, String)
  | 
 Initializes a new instance of the Document class
from the stream of specified type protected with password.
 Namespace:
 Spire.Doc
 Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
 Syntax
Syntax
 
 
public Document(
	Stream stream,
	FileFormat type,
	string password
)
 
Public Sub New ( 
	stream As Stream,
	type As FileFormat,
	password As String
)
 
public:
Document(
	Stream^ stream, 
	FileFormat type, 
	String^ password
)
 
new : 
stream : Stream * 
type : FileFormat * 
password : string -> Document
 
 
 
Parameters
 
- 
stream
 
- 
 Type:
 
System.IO
Stream
 
 The stream.
- 
type
 
- 
 Type:
 
Spire.Doc
FileFormat
 
 The type.
- 
password
 
- 
 Type:
 
System
String
 
 The password.
 
 See Also
See Also