Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Objects
Message
From
19/04/2004 14:27:35
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00896222
Message ID:
00896228
Views:
21
Nick,

This is my Acrobat Automation Code:

avDocM = CreateObject("AcroExch.AVDoc")
avDocM.Open((pdm_var.prerelPDFDir) + AllT(new_ps_name)+'.pdf',"")
dfr = avDocM.GetPDDoc()
dfr.GetNumPages()
avDocE = CreateObject("AcroExch.AVDoc")
avDocE.Open((pdm_var.aclt_hold) + AllT(new_ps_name)+'1.pdf',"")
dfr2 = avDocE.GetPDDoc()

sde123 = dfr.ReplacePages(0,dfr2,0,1,.F.)

dfr.Save(0x20+0x4+0x1,(pdm_var.prerelPDFDir) + AllT(new_ps_name)+'.pdf')
avDocM.Close(.T.)
avDocE.Close(.T.)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform