Click or drag to resize

IDocument LoadFromFile Method (String, FileFormat)

Opens the document from file in Xml or Microsoft Word format.

Namespace: Spire.Doc.Interface
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
void LoadFromFile(
	string fileName,
	FileFormat fileFormat
)

Parameters

fileName
Type: System String
fileFormat
Type: Spire.Doc FileFormat
See Also