Click or drag to resize

Document Constructor (Stream, FileFormat, String, Boolean)

Initializes a new instance of the Document class with the specified stream, file format, password, and new engine option.

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public Document(
	Stream stream,
	FileFormat type,
	string password,
	bool useNewEngine
)

Parameters

stream
Type: System.IO Stream
The stream to load the document from.
type
Type: Spire.Doc FileFormat
The file format of the document.
password
Type: System String
The password to open the document, if encrypted.
useNewEngine
Type: System Boolean
Indicates whether to use the new rendering engine for the document.
See Also