Saves PDF document to file.
Namespace: Spire.PdfAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
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
- String
A relative or absolute path for the file
- fileFormat
- FileFormat
File format for the file