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