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.
|