Namespace: iTextSharp.text.pdf
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
C# |
---|
public static void Encrypt( PdfReader reader, Stream os, bool strength, string userPassword, string ownerPassword, int permissions, Hashtable newInfo ) |
Visual Basic |
---|
Public Shared Sub Encrypt ( _ reader As PdfReader, _ os As Stream, _ strength As Boolean, _ userPassword As String, _ ownerPassword As String, _ permissions As Integer, _ newInfo As Hashtable _ ) |
Visual C++ |
---|
public: static void Encrypt( PdfReader^ reader, Stream^ os, bool strength, String^ userPassword, String^ ownerPassword, int permissions, Hashtable^ newInfo ) |
Parameters
- reader
- Type: iTextSharp.text.pdf..::..PdfReader
- os
- Type: System.IO..::..Stream
- strength
- Type: System..::..Boolean
- userPassword
- Type: System..::..String
- ownerPassword
- Type: System..::..String
- permissions
- Type: System..::..Int32
- newInfo
- Type: System.Collections..::..Hashtable