| 
Document Constructor (String, Boolean)
  | 
 Initializes a new instance of the Document class with the specified file name and engine usage flag.
 Namespace:
 Spire.Doc
 Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
 Syntax
Syntax
 
 
public Document(
	string fileName,
	bool useNewEngine
)
 
Public Sub New ( 
	fileName As String,
	useNewEngine As Boolean
)
 
public:
Document(
	String^ fileName, 
	bool useNewEngine
)
 
new : 
fileName : string * 
useNewEngine : bool -> Document
 
 
 
Parameters
 
- 
fileName
 
- 
 Type:
 
System
String
 
 The name of the document file.
- 
useNewEngine
 
- 
 Type:
 
System
Boolean
 
 A boolean indicating whether to use the new engine.
 
 See Also
See Also