General information
Category:
COM/DCOM and OLE Automation
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only