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



O2S.Components.PDF4NET Namespace > PDFFixedDocument Class > Save Method : Save(Stream,PDFSecurityHandler,Boolean) Method
Destination stream.
Security handler for encrypting the saved file.
When set to true, the structure of the PDF objects is also compressed. Supported when PDF version >= 1.5
Saves the PDF document to the specified stream.
Syntax
'Declaration
 
Public Overloads Overrides Sub Save( _
   ByVal stream As Stream, _
   ByVal securityHandler As PDFSecurityHandler, _
   ByVal enableObjectCompression As Boolean _
) 
'Usage
 
Dim instance As PDFFixedDocument
Dim stream As Stream
Dim securityHandler As PDFSecurityHandler
Dim enableObjectCompression As Boolean
 
instance.Save(stream, securityHandler, enableObjectCompression)

Parameters

stream
Destination stream.
securityHandler
Security handler for encrypting the saved file.
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

PDFFixedDocument Class
PDFFixedDocument Members
Overload List