Question QuickPDF dll functions

MoneyRan

New member
Joined
Jul 13, 2011
Messages
1
Programming Experience
5-10
Hi, I am trying to edit a PDF file in VB.NET. More specifically, I wish to write data into an existing empty PDF form. I tried doing the following just to start, but it doesn't seem to work. Also, I am not sure what integer parameters I need to send to the DAAppendFile and DACloseFile functions. I got info from Document management function group - Quick PDF Library help (formerly known as iSEDQuickPDF) : Can someone look into it and see what is wrong?

Dim QP As New QuickPDFDLL0725.PDFLibrary("QuickPDFDLL0725.dll")
Dim result As Integer = QP.UnlockKey(mykey)
If result = 1 Then
QP.SetOrigin(1)
QP.DAOpenFile("C:\\QuickPDF\\File1.pdf", "")
QP.DrawText(200, 200, "First Line Added")
QP.DrawText(200, 400, "Last Statement")
QP.DAAppendFile(20)
QP.DACloseFile(20)
QP.SaveToFile("C:\\QuickPDF\\ApplicationConfirmation-AmyAdams-2011.pdf")
End If
 
Back
Top