Saves the document into stream in Xml or Microsoft Word format.

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void SaveToFile(
	Stream stream,
	FileFormat fileFormat
)
Public Sub SaveToFile ( 
	stream As Stream,
	fileFormat As FileFormat
)
public:
virtual void SaveToFile(
	Stream^ stream, 
	FileFormat fileFormat
) sealed
abstract SaveToFile : 
        stream : Stream * 
        fileFormat : FileFormat -> unit 
override SaveToFile : 
        stream : Stream * 
        fileFormat : FileFormat -> unit 

Parameters

stream
Stream
fileFormat
FileFormat

Implements

IDocument..::..SaveToFile(Stream, FileFormat)

See Also