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, int type, string userPassword, string ownerPassword, int permissions ) |
Visual Basic |
---|
Public Shared Sub Encrypt ( _ reader As PdfReader, _ os As Stream, _ type As Integer, _ userPassword As String, _ ownerPassword As String, _ permissions As Integer _ ) |
Visual C++ |
---|
public: static void Encrypt( PdfReader^ reader, Stream^ os, int type, String^ userPassword, String^ ownerPassword, int permissions ) |
Parameters
- reader
- Type: iTextSharp.text.pdf..::..PdfReader
- os
- Type: System.IO..::..Stream
- type
- Type: System..::..Int32
- userPassword
- Type: System..::..String
- ownerPassword
- Type: System..::..String
- permissions
- Type: System..::..Int32