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