XFINIUM.PDF Documentation
Save(String,Boolean) Method



Xfinium.Pdf Namespace > PdfDocument Class > Save Method : Save(String,Boolean) Method
File where the PDF document is saved.
When set to true, the structure of the PDF objects is also compressed. Supported when PDF version >= 1.5
Saves the Pdf document to a file.
Syntax
'Declaration
 
Public Overloads Sub Save( _
   ByVal fileName As String, _
   ByVal enableObjectCompression As Boolean _
) 
'Usage
 
Dim instance As PdfDocument
Dim fileName As String
Dim enableObjectCompression As Boolean
 
instance.Save(fileName, enableObjectCompression)

Parameters

fileName
File where the PDF document is saved.
enableObjectCompression
When set to true, the structure of the PDF objects is also compressed. Supported when PDF version >= 1.5
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfDocument Class
PdfDocument Members
Overload List