Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PDF automation
Message
 
 
To
22/02/2005 10:17:44
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00989231
Message ID:
00989492
Views:
21
This message has been marked as a message which has helped to the initial question of the thread.
>I would like to know if it's possible to open a PDF file from VFP and to jump to a specific page in the PDF document and how to do it.
>
>Any pointers would be greatly appreciated.
>
If you've full version of Acrobat
lcPdfFile = "h:\temp\z51.pdf"
lnPageNumber = 3
loAcroApp = CREATEOBJECT("AcroExch.App")
loAcroApp.Show()
loAVDoc = CREATEOBJECT("AcroExch.AVDoc")
loAVDoc.Open(lcPdfFile, "PDF")
loPV  = loAVDoc.GetAVPageView()
loPV.Goto(lnPageNumber-1)
loPV = Null
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform