|
Add the user password to existing PDF File without displaying or decoding any of the images.
Public Function PDFEditEncrypt( _ ByVal strSourceFile As String, _ ByVal strOutputFile As String, _ ByVal strUserPass As String, _ ByVal strOwnerPass As String )
|
Parameter
strSourceFile The source of PDF File.
strOutputFile The output of PDF File.
strUserPass The string of user password.
strOwnerPass The string of owner password.
No Return Value
Example
|
Visual Basic Syntax ImageViewer1.PDFEditEncrypt "c:\sourcepdf.pdf", 1, "c:\output.pdf", "123", "123"
|
|
|