Document
SaveToFile Method (String, FileFormat)
|
Saves the document to 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 SaveToFile(
string fileName,
FileFormat fileFormat
)
Public Sub SaveToFile (
fileName As String,
fileFormat As FileFormat
)
public:
virtual void SaveToFile(
String^ fileName,
FileFormat fileFormat
) sealed
abstract SaveToFile :
fileName : string *
fileFormat : FileFormat -> unit
override SaveToFile :
fileName : string *
fileFormat : FileFormat -> unit
Parameters
-
fileName
-
Type:
System
String
File name
-
fileFormat
-
Type:
Spire.Doc
FileFormat
Implements
IDocument
SaveToFile(String, FileFormat)
See Also