Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about iOS development and PDF

vGetPos: bug?

More
11 years 7 months ago #8413 by Rossi
vGetPos: bug? was created by Rossi
Hi, i use the method
Code:
[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
Code:
[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;
More
11 years 7 months ago #8414 by emanuele
Replied by emanuele on topic vGetPos: bug?
Dear Rossi,

you probably have to fix your code with something like this:
Code:
[m_view vGetPos:&pos:x*m_scale:y*m_scale];
Time to create page: 0.384 seconds
Powered by Kunena Forum