Document Constructor (Stream, FileFormat, XHTMLValidationType, Boolean)
|
Initializes a new instance of the Document class with the specified stream, file format, XHTML validation type, and use new engine flag.
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,
XHTMLValidationType validationType,
bool useNewEngine
)
Public Sub New (
stream As Stream,
type As FileFormat,
validationType As XHTMLValidationType,
useNewEngine As Boolean
)
public:
Document(
Stream^ stream,
FileFormat type,
XHTMLValidationType validationType,
bool useNewEngine
)
new :
stream : Stream *
type : FileFormat *
validationType : XHTMLValidationType *
useNewEngine : bool -> Document
Parameters
-
stream
-
Type:
System.IO
Stream
The stream containing the document data.
-
type
-
Type:
Spire.Doc
FileFormat
The file format of the document.
-
validationType
-
Type:
Spire.Doc.Documents
XHTMLValidationType
The XHTML validation type to be used.
-
useNewEngine
-
Type:
System
Boolean
A boolean indicating whether to use the new engine for processing the document.
See Also