Spread Windows Forms 12.0 Product Documentation
PdfSecurity Constructor(String,String)


FarPoint.PDF Assembly > FarPoint.PDF Namespace > PdfSecurity Class > PdfSecurity Constructor : PdfSecurity Constructor(String,String)
The password, that upon being entered, permits the viewer unrestricted access to the document.
The password, that upon being entered, permits the viewer the permissions as specified in this class's Permissions property.
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 ownerPassword As String, _
   ByVal userPassword As String _
)
'Usage
 
Dim ownerPassword As String
Dim userPassword As String
 
Dim instance As New PdfSecurity(ownerPassword, userPassword)
public PdfSecurity( 
   string ownerPassword,
   string userPassword
)

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

Reference

PdfSecurity Class
PdfSecurity Members
Overload List