Saves PDF document to PDF or other Format files.
Current only supports save PDF document to SVG and PDF
Namespace: Spire.PdfAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)
Syntax
C# | Visual Basic | Visual C++ | F# |
public void SaveToFile( string filename, int startIndex, int endIndex, FileFormat fileFormat )
Public Sub SaveToFile ( filename As String, startIndex As Integer, endIndex As Integer, fileFormat As FileFormat )
public: void SaveToFile( String^ filename, int startIndex, int endIndex, FileFormat fileFormat )
member SaveToFile : filename : string * startIndex : int * endIndex : int * fileFormat : FileFormat -> unit
Parameters
- filename
- String
A relative or absolute path for the file
- startIndex
- Int32
The start page index.The index starts at 0
- endIndex
- Int32
The end page index.
- fileFormat
- FileFormat
File format for the file