| 
Document
LoadFromFile Method (String, FileFormat, String)
  | 
 Opens the document from file in Xml or Microsoft Word format.
 Namespace:
 Spire.Doc
 Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
 Syntax
Syntax
 
 
public void LoadFromFile(
	string fileName,
	FileFormat fileFormat,
	string password
)
 
Public Sub LoadFromFile ( 
	fileName As String,
	fileFormat As FileFormat,
	password As String
)
 
public:
void LoadFromFile(
	String^ fileName, 
	FileFormat fileFormat, 
	String^ password
)
 
member LoadFromFile : 
fileName : string * 
fileFormat : FileFormat * 
password : string -> unit 
 
 
 
Parameters
 
- 
fileName
 
- 
 Type:
 
System
String
 
 Name of the file.
- 
fileFormat
 
- 
 Type:
 
Spire.Doc
FileFormat
 
 
- 
password
 
- 
 Type:
 
System
String
 
 The password.
 
 See Also
See Also