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