Initializes an instance of the
PdfSecurity class with the specified passwords and default permissions. By default all permissions are allowed.
Syntax
'Declaration
Public Function New( _
ByVal As String, _
ByVal As String _
)
'Usage
Dim ownerPassword As String
Dim userPassword As String
Dim instance As New PdfSecurity(ownerPassword, userPassword)
public PdfSecurity(
string ,
string
)
Parameters
- ownerPassword
- The password, that upon being entered, permits the viewer unrestricted access to the document.
- userPassword
- The password, that upon being entered, permits the viewer the permissions as specified in this class's Permissions property.
See Also