Click or drag to resize

Document Constructor (Stream, String, Boolean)

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

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

Parameters

stream
Type: System.IO Stream
The stream to load the document from.
password
Type: System String
The password to use for opening the document.
useNewEngine
Type: System Boolean
Indicates whether to use the new engine for processing the document.
See Also