Document Constructor (String, FileFormat, Boolean)
|
Initializes a new instance of the Document class with the specified file name, file format, and flag indicating whether to use the new engine.
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,
bool useNewEngine
)
Public Sub New (
fileName As String,
type As FileFormat,
useNewEngine As Boolean
)
public:
Document(
String^ fileName,
FileFormat type,
bool useNewEngine
)
new :
fileName : string *
type : FileFormat *
useNewEngine : bool -> Document
Parameters
-
fileName
-
Type:
System
String
The name of the file to open or create.
-
type
-
Type:
Spire.Doc
FileFormat
The format of the file.
-
useNewEngine
-
Type:
System
Boolean
A boolean indicating whether to use the new engine for processing the document.
See Also