| 
Document Constructor (String, FileFormat, XHTMLValidationType)
  | 
 Initializes a new instance of the
 
Document
 
 class.
 Namespace:
 Spire.Doc
 Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
 Syntax
Syntax
 
 
public Document(
	string fileName,
	FileFormat type,
	XHTMLValidationType validationType
)
 
Public Sub New ( 
	fileName As String,
	type As FileFormat,
	validationType As XHTMLValidationType
)
 
public:
Document(
	String^ fileName, 
	FileFormat type, 
	XHTMLValidationType validationType
)
 
new : 
fileName : string * 
type : FileFormat * 
validationType : XHTMLValidationType -> Document
 
 
 
Parameters
 
- 
fileName
 
- 
 Type:
 
System
String
 
 Name of the file.
- 
type
 
- 
 Type:
 
Spire.Doc
FileFormat
 
 The type of the opened document.
- 
validationType
 
- 
 Type:
 
Spire.Doc.Documents
XHTMLValidationType
 
 The XHTML validation type.
 
 See Also
See Also