Foxit Corporation Forums  

Go Back   Foxit Corporation Forums > Portable Document Format (PDF) Tools > SDK ( DLL or ActiveX)

SDK ( DLL or ActiveX) Integrate PDF functions into your application easily. The SDK shares the same technology that powers Foxit Reader.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 19th, 2006, 10:23 AM
asc4john asc4john is offline
Junior Member
 
Join Date: Sep 2006
Posts: 1
asc4john is an unknown quantity at this point
Default getting x,y coordinates from a PDF file

I would like to how to get the x,y coordinates from a PDF file. Do I need either the ActiveX control or the DLL to do this? Basically I want to open a pdf, point at a location on the pdf, click and have the coordinate saved to a text file. I would be using VBA to do this. Thats all I need. The pdf would be turned into a text file:
line, startX,startY, endX,endY
line, startX,startY, endX,endY
.......
Thanks
Reply With Quote
  #2  
Old September 21st, 2006, 12:35 AM
william's Avatar
william william is offline
Foxit Developer
 
Join Date: Dec 2005
Posts: 192
william is a glorious beacon of lightwilliam is a glorious beacon of lightwilliam is a glorious beacon of lightwilliam is a glorious beacon of lightwilliam is a glorious beacon of lightwilliam is a glorious beacon of light
Default

Hi asc4john,

I guess the coordinates you are going to save are "PDF coordinates", not "window coordinates".
If this is the case, then you can simply use our DLL to achieve this.
There is a function called FPDF_DeviceToPage which converts the screen coordinations of a point to page coordinations.
Our current version of ActiveX doesn't have this feature. However, we can customize a version for you to include this feature.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 06:50 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2005-2008 Foxit Corporation. All rights reserved.