- Posts: 8
- Thank you received: 0
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,
- Rajat Singla
- Topic Author
- Offline
- New Member
-
Less
More
9 years 1 month ago #11788
by Rajat Singla
Ink annotations and thumbnail view, was created 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
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
9 years 1 month ago #11835
by emanuele
Replied by emanuele on topic Ink annotations and thumbnail view,
Hi,
you can delete annotations using [PDFAnnot removeFromPage] method, and iterate on the whole pdf with something like:
To change the thumbnail background color you have to set the backgroundColor of PDFThumbView in vOpen method.
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];
}
}
}
- Rajat Singla
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
9 years 1 month ago #11838
by Rajat Singla
Replied by Rajat Singla on topic Ink annotations and thumbnail view,
9 years 1 month ago #11839
by emanuele
Replied by emanuele on topic Ink annotations and thumbnail view,
Sorry, my fault. To change the selected thumb color you have to set the g_sel_color parameter in APP_Init method of PDFVGlobal.
- Rajat Singla
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
9 years 1 month ago #11841
by Rajat Singla
Replied by Rajat Singla on topic Ink annotations and thumbnail view,
Thank you. It worked.
Can u please confirm if we can pinch and zoom while using ink annotataions.
And if we can then how?
Can u please confirm if we can pinch and zoom while using ink annotataions.
And if we can then how?
Time to create page: 0.380 seconds