Click or drag to resize

Document Constructor (Stream, FileFormat, Boolean)

Initializes a new instance of the Document class with the specified stream, file format, 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,
	FileFormat type,
	bool useNewEngine
)

Parameters

stream
Type: System.IO Stream
The stream containing the document data.
type
Type: Spire.Doc FileFormat
The file format of the document.
useNewEngine
Type: System Boolean
Indicates whether to use the new engine for processing the document.
See Also