Click or drag to resize

Document Constructor (String, FileFormat, String, Boolean)

Initializes a new instance of the Document class with the specified file name, file format, password, and 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,
	string password,
	bool useNewEngine
)

Parameters

fileName
Type: System String
The name of the document file.
type
Type: Spire.Doc FileFormat
The file format of the document.
password
Type: System String
The password required to open the document, if any.
useNewEngine
Type: System Boolean
A boolean indicating whether to use the new engine for processing the document.
See Also