Convert the document to an stream with the file format.

Namespace: Spire.Pdf
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void Save(
	Stream stream,
	FileFormat fileformat
)
Public Sub Save ( 
	stream As Stream,
	fileformat As FileFormat
)
public:
void Save(
	Stream^ stream, 
	FileFormat fileformat
)
member Save : 
        stream : Stream * 
        fileformat : FileFormat -> unit 

Parameters

stream
Stream
The stream with the file format.
fileformat
FileFormat
The file format. FileFormat.SVG is not supported, because SVG file has no paging,so can't be saved to an stream.

See Also