PdfDocument
SaveToFile Method (String, Int32, Int32, FileFormat)
|
Saves PDF document to PDF or other Format files.
Current only supports save PDF document to SVG and PDF
Namespace:
Spire.Pdf
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
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
-
Type:
System
String
A relative or absolute path for the file
-
startIndex
-
Type:
System
Int32
The start page index.The index starts at 0
-
endIndex
-
Type:
System
Int32
The end page index.
-
fileFormat
-
Type:
Spire.Pdf
FileFormat
File format for the file
See Also