RadaeePDF
RadaeePDF
Classic SDK
Master SDK
Server SDK
Command Line Tools
Pre-sales FAQ
Resellers
Download
All
SDK for Android
SDK for iOS
SDK for WinUWP
SDK for Server
Cordova Plugin
Xamarin Module
Documentation
Support
Tickets
Forum
Knowledge base
Press
Featured Apps
Android Apps carousel
iOS Apps carousel
Login
My orders
Index
Recent Topics
Search
Welcome,
Guest
Username:
Password:
Remember me
Forgot your password?
Forgot your username?
Create an account
Signin/Signup with:
Forum
Developing applications
iOS development
HOW REMOVE ANNOTATION
Questions about iOS development and PDF
Page:
1
TOPIC:
HOW REMOVE ANNOTATION
10 years 8 months ago
#7037
ex93nball
Topic Author
Offline
New Member
Posts: 13
Thank you received: 0
How can i remove an annotation on PDF
i don't have any idea to get annotation type from position its always return 0
here my code:
- (void)OnSingleTapped:(float)x :(float)y :(NSString *)text{
struct PDFV_POS pos;
[m_view vGetPos:&pos];
int pageNo = pos.pageno;
PDFPage *vp = [m_doc page:pageNo];
PDF_ANNOT an = Page_getAnnotFromPoint(vp, pos.x, pos.y);
int type = Page_getAnnotType(vp, an);
NSLog(@"tipe annot = %d at %f %f",type,x,y);
}
Please
Log in
or
Create an account
to join the conversation.
HOW REMOVE ANNOTATION
10 years 8 months ago
#7039
radaee
Offline
Moderator
Posts: 1123
Thank you received: 73
PDFVPage vpage = [m_view vGetPage:pos.pageno];
PDFPage *page = [vpage Page];
if( page )
{
PDFAnnot *an = [page annotAtPoint:pos.x, pos.y];
[an type];
[an removeFromPage];
an = nil;
}
Please
Log in
or
Create an account
to join the conversation.
Page:
1
Board Categories
Announcements
- Roadmap and releases
- Communications
Developing applications
- Android development
- iOS development
- Windows modern development
- Linux and Windows server
- Xamarin, Cordova and other third part
Requests and communications
- What do you like to see in next RadaeePDF SDK releases
- Application adopting RadaeePDF SDK
- Bug report
- Questions about licensing and sales
Forum
Developing applications
iOS development
HOW REMOVE ANNOTATION
Powered by
Kunena Forum
You are here:
Home
Forum
Developing applications
iOS development
Save annotations and draw it in new pdf
JavaScript is currently disabled.
Please enable it for a better experience.
You are now being logged in using your Facebook credentials