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
)
Public Sub New (
stream As Stream,
password As String,
useNewEngine As Boolean
)
public:
Document(
Stream^ stream,
String^ password,
bool useNewEngine
)
new :
stream : Stream *
password : string *
useNewEngine : bool -> Document
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