Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine PDF Properties
Message
 
 
To
31/01/2008 14:31:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01287621
Message ID:
01287646
Views:
11
>Is there a way in VFP to determine the page width/height of a pdf document? IF not, does anyone have a suggestion on third party software that might accomplish this?
>
>Thanks in advance,

Well, check http://www.adobe.com/devnet/acrobat/pdfs/iac_api_reference.pdf

GetSize
Gets a page’s width and height in points.
Syntax
LPDISPATCH GetSize();
Returns
The LPDISPATCH for an AcroExch.Point containing the width and height, measured in points. Point x contains the width, point y the height.
Related methods
AVPageView.GetPage
AVPageView.GetPageNum
PDDoc.AcquirePage
PDPage.GetNumber
PDPage.GetRotate
PDTextSelect.GetPage

and see Re: Adobe Acrobat PDF Reader control returns 0x80004005 erro Thread #1189281 Message #1189441

Though I'm not sure it's helpful.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform