O2S.Components.PDF4NET Documentation
Save(Stream,PDFSecurityHandler,Boolean) Method



O2S.Components.PDF4NET.Utilities Namespace > PDFMerger Class > Save Method : Save(Stream,PDFSecurityHandler,Boolean) Method
Stream where the merged file will be saved.
Security handler for encrypting the merged file.
True if the merged file should compress the PDF file structure.
Saves the merged file to given stream.
Syntax
'Declaration
 
Public Overloads Sub Save( _
   ByVal output As Stream, _
   Optional ByVal securityHandler As PDFSecurityHandler, _
   Optional ByVal enableObjectCompression As Boolean _
) 
'Usage
 
Dim instance As PDFMerger
Dim output As Stream
Dim securityHandler As PDFSecurityHandler
Dim enableObjectCompression As Boolean
 
instance.Save(output, securityHandler, enableObjectCompression)

Parameters

output
Stream where the merged file will be saved.
securityHandler
Security handler for encrypting the merged file.
enableObjectCompression
True if the merged file should compress the PDF file structure.
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

PDFMerger Class
PDFMerger Members
Overload List