PdfDocument
SaveToFile Method (String, FileFormat)
|
Saves PDF document to file.
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,
FileFormat fileFormat
)
Public Sub SaveToFile (
filename As String,
fileFormat As FileFormat
)
public:
void SaveToFile(
String^ filename,
FileFormat fileFormat
)
member SaveToFile :
filename : string *
fileFormat : FileFormat -> unit
Parameters
-
filename
-
Type:
System
String
A relative or absolute path for the file
-
fileFormat
-
Type:
Spire.Pdf
FileFormat
File format for the file
See Also