I am trying to display a PDF in a winform using C# .net
I have included the iTextSharp Library, and successfully opened the PDF file, however I get a byte[]
back from iTextView
PdfReader reader = new PdfReader(GetURI("test.pdf"));
reader.getPageN(1); //returns byte array
I can't find much documentation on this library, and I was wondering how I would get the PDF on the actual form, be it in a picture box or a webview. How do I display the pages of the PDF?
EDIT:
I Don't want to open it in a third party reader
I don't want dependencies on adobe reader
I want to focus on a solution with iTextSharp or something similar, as I need to secure the PDF, encrypt it and eventually alter it.