Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42215

VS 2010 Editing a PDF File VB .NET -iTextSharp

$
0
0
Okay so I go on this website, I click a few buttons, and at this last button I need to open a PDF file. There is a button on the website that will open a PDF file in the browser. Right now I am using iTextSharp which is an absolute pain in the buns. I can't find any documentation for this dll/useless class or whatever it might be. Is there ANY other way to Edit already made fields inside of a PDF file without overwriting anything? Or does anybody know of any place where there is legit documentation with code examples for iTextSharp.

This is what I am working with so far..... using iTextSharp blindly.

Code:

    Dim scottsucksatcoding As Object 'my boss sucks..

    Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
        scottsucksatcoding = WebBrowser1.Document.GetElementById("ThePDF")
        Dim reader As PdfWriter = scottsucksatcoding

    End Sub

I would click that button when the webbrowser loads the PDF file, I need to access certain textboxes that are inside the PDF file and insert text into them, how do I get the elementid or key of the textbox?

Viewing all articles
Browse latest Browse all 42215

Trending Articles