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

Ink annotations and thumbnail view,

More
9 years 1 month ago #11788 by Rajat Singla
Hii Radaee support.

I have been integrating the RadaeePDF in my project and i have some queries about ink annotations and thumbnail view.

1. How to clear the ink annotation from current page ?
2. How to clear annotations from entire PDF ?
3. Can we zoom in and out while using Pen ?
4. How to change the color of current page in thumbnailView?

Thanks
More
9 years 1 month ago #11835 by emanuele
Hi,

you can delete annotations using [PDFAnnot removeFromPage] method, and iterate on the whole pdf with something like:
Code:
for (int i = 0; i < [m_doc pageCount]; i++) { PDFPage *page = [m_doc page:i]; int count = [page annotCount]; if (count > 0) { for (int c = (count - 1); c >= 0; c--) { PDFAnnot *annot = [page annotAtIndex:c]; [annot removeFromPage]; } } }
To change the thumbnail background color you have to set the backgroundColor of PDFThumbView in vOpen method.
More
9 years 1 month ago #11838 by Rajat Singla
Hii, thanks for the reply.

i applied your solution but it changed the background color of the thumbnail views.
I need to change the overlay color of the current thumbnail.

Please look at the attachment below.

Thanks.
More
9 years 1 month ago #11839 by emanuele
Sorry, my fault. To change the selected thumb color you have to set the g_sel_color parameter in APP_Init method of PDFVGlobal.
More
9 years 1 month ago #11841 by Rajat Singla
Thank you. It worked.

Can u please confirm if we can pinch and zoom while using ink annotataions.
And if we can then how?
More
9 years 1 month ago #11843 by emanuele
If you enable ink mode, you cannot zoom or move because the scroll is blocked to allow the ink drawing.
Time to create page: 0.380 seconds
Powered by Kunena Forum