vGetPos: bug? - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC: vGetPos: bug?

vGetPos: bug? 3 years 10 months ago #8413

  • Rossi
  • Rossi's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 49
  • Karma: 1
  • Thank you received: 0
Hi, i use the method
[page addAnnotBitmap: ref :YES :&rect];
to add image on my pdf. It works fine in portrait and with ipad 2. When i use ipad with retina display in landscape
[m_view vGetPos:&pos:x:y];
always return the number of the left page, so i have to manually add 1 to pageno if the point is in the right side.
I display the pdf in pdfvdual with pagingenable = YES;

Please Log in or Create an account to join the conversation.

vGetPos: bug? 3 years 10 months ago #8414

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 523
  • Karma: 20
  • Thank you received: 60
Dear Rossi,

you probably have to fix your code with something like this:
[m_view vGetPos:&pos:x*m_scale:y*m_scale];

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum