Initializes a new instance of the Document class

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public Document(
	string fileName,
	FileFormat type
)
Public Sub New ( 
	fileName As String,
	type As FileFormat
)
public:
Document(
	String^ fileName, 
	FileFormat type
)
new : 
        fileName : string * 
        type : FileFormat -> Document

Parameters

fileName
String
type
FileFormat

See Also