PdfDocumentBase
Save Method (Int32, Int32, FileFormat)
|
Convert the document to streams 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 Stream[] Save(
int startIndex,
int endIndex,
FileFormat fileformat
)
Public Function Save (
startIndex As Integer,
endIndex As Integer,
fileformat As FileFormat
) As Stream()
public:
array<Stream^>^ Save(
int startIndex,
int endIndex,
FileFormat fileformat
)
member Save :
startIndex : int *
endIndex : int *
fileformat : FileFormat -> Stream[]
Parameters
-
startIndex
-
Type:
System
Int32
The start index.
-
endIndex
-
Type:
System
Int32
The end index.
-
fileformat
-
Type:
Spire.Pdf
FileFormat
The file format.
Return Value
Type:
Stream
The format file streams.
FileFormat.PDF:return only one stream(PDF support paging).
FileFormat.XPS:return only one stream(XPS support paging).
FileFormat.DOC:return only one stream(DOC support paging).
FileFormat.DOCX:return only one stream(DOCX support paging).
FileFormat.XLSX:return only one stream(XLSX support paging).
FileFormat.PCL:return only one stream(PCL support paging).
FileFormat.POSTSCRIPT:return only one stream(POSTSCRIPT support paging).
FileFormat.HTML:return only one stream(HTML support paging).
FileFormat.SVG:return multiple streams(SVG not support paging,one stream to one page).
See Also