Adobe Acrobat Automation (2005-2010)

Adobe Acrobat Automation

Post by Marc » 29 Jun 2010, 10:27

 Posted by:  Marc 

can help me someone, i would like to transfer this VB code in Gupta.

Dim gApp As Acrobat.CAcroApp
Dim gPDDoc As Acrobat.CAcroPDDoc
Dim jso As Object

Set gApp = CreateObject("AcroExch.App")
Set gPDDoc = CreateObject("AcroExch.PDDoc")
If gPDDoc.Open("c:\temp\form.pdf") Then
Set jso = gPDDoc.GetJSObject
Dim field1 As Object
Set field1 = jso.getField("Text1")
field1.Value = "this is is a test"
jso.SaveAs ("c:\temp\form.pdf")
End If

best regards,


Return to “td.development”

Who is online

Users browsing this forum: [Ccbot] and 0 guests