Click or drag to resize

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
)

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