Hello

I am programming in Visual Studio .Net with iTextSharp  an i have a problem

I create  Pdf with   Owner Password  :  "0123"

when i try to open them, i use this code :

------------------------------------------------
Dim MyBytes() As Byte

MyBytes = System.Text.Encoding.Unicode.GetBytes("0123")
reader = New iTextSharp.text.pdf.PdfReader(MyPdf, MyBytes)
-------------------------------------------------

but I have a Bad password error 
I try with  System.Text.Encoding.ASCII and UTF but with the same error

HELP PLEASE !

-- 
View this message in context: 
http://www.nabble.com/iTextSharp-pdf-owner-Password-tp21662464p21662464.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to