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 November 1st, 2009, 07:50 PM
Amoshk Amoshk is offline
Junior Member
 
Join Date: Nov 2009
Posts: 1
Amoshk is an unknown quantity at this point
Exclamation ActiveX 3.0 coordination problem

When I first load in a pdf which produce from a ppt document.
The width and height obtained by the SDK is correct (ie.W:842 H:595)
But once I perform the ConvertClientCoordToPageCoord method
I got swap of the X and Y coordinate
e.g. If I touch the document top,right coner
e.X:1203 e.Y:12 //mouse event on the control panel
pageX:3.000018 pageY:785.2499 //obtained X,Y from ConvertClientCoordToPageCoord().

And I try to print a pdf file in landscape mode, the same problem happened.

Since the width and height come from GetPageWidth and GetPageHeight method.
Is there any way I can get the acknowledgement if the document was print in landscape or swap of the X,Y coordinates in ConvertClientCoordToPageCoord ?

P.S. I am currently using Foxit Reader SDK ActiveX 3.0.1.914.
Attached Files
File Type: pdf landscape.pdf (118.4 KB, 1 views)
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 09:58 PM.


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