Spread Windows Forms 10.0 Product Documentation
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.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

PdfSecurity Class
PdfSecurity Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.