Document Constructor (String, String)
|
Initializes a new instance of the Document class from existing Word document,
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(
string fileName,
string password
)
Public Sub New (
fileName As String,
password As String
)
public:
Document(
String^ fileName,
String^ password
)
new :
fileName : string *
password : string -> Document
Parameters
-
fileName
-
Type:
System
String
Name of the file.
-
password
-
Type:
System
String
The password.
See Also