Saves PDF document to file.
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, 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