Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PDF automation
Message
 
 
À
22/02/2005 10:17:44
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
00989231
Message ID:
00989492
Vues:
22
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform