Adobe Acrobat Automation

forum.td.development (2005-2010)
NewsgroupServer
Robot
Robot
Posts: 118939
Joined: 24 Feb 2017, 12:00
Location: World wide

Adobe Acrobat Automation

Post by NewsgroupServer » 29 Jun 2010, 10:27

 Posted by:  Marc 

Hi,
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,

Marc

Return to “td.development”

Who is online

Users browsing this forum: Ccbot [Crawler] and 0 guests