PdfDocumentBase
Save Method (Stream, FileFormat)
|
Convert the document to an stream with the file format.
Namespace:
Spire.Pdf
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
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
-
Type:
System.IO
Stream
The stream with the file format.
-
fileformat
-
Type:
Spire.Pdf
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