Click or drag to resize

DocumentLoadFromFile 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: 9.10.0.0 (9.10.0.3040)
Syntax
public void LoadFromFile(
	string fileName,
	FileFormat fileFormat,
	string password
)

Parameters

fileName
Type: SystemString
Name of the file.
fileFormat
Type: Spire.DocFileFormat
password
Type: SystemString
The password.
See Also