Click or drag to resize

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
public void LoadFromFile(
	string fileName,
	FileFormat fileFormat,
	string password
)

Parameters

fileName
Type: System String
Name of the file.
fileFormat
Type: Spire.Doc FileFormat
password
Type: System String
The password.
See Also