Document Constructor (String, FileFormat, XHTMLValidationType, Boolean)
|
Initializes a new instance of the Document class with the specified file name, file format, XHTML validation type, and flag indicating whether to use the new engine.
Namespace:
Spire.Doc
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public Document(
string fileName,
FileFormat type,
XHTMLValidationType validationType,
bool useNewEngine
)
Public Sub New (
fileName As String,
type As FileFormat,
validationType As XHTMLValidationType,
useNewEngine As Boolean
)
public:
Document(
String^ fileName,
FileFormat type,
XHTMLValidationType validationType,
bool useNewEngine
)
new :
fileName : string *
type : FileFormat *
validationType : XHTMLValidationType *
useNewEngine : bool -> Document
Parameters
-
fileName
-
Type:
System
String
The name of the document file.
-
type
-
Type:
Spire.Doc
FileFormat
The file format of the document.
-
validationType
-
Type:
Spire.Doc.Documents
XHTMLValidationType
The XHTML validation type to use.
-
useNewEngine
-
Type:
System
Boolean
A boolean indicating whether to use the new engine.
See Also