Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC:

vGetPos: bug? 9 years 2 months ago #8413

  • Rossi
  • Rossi's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 49
  • 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? 9 years 2 months ago #8414

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
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