Show and hide Dotted border around annotation - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC: Show and hide Dotted border around annotation

Show and hide Dotted border around annotation 4 years 6 months ago #6066

  • Navdeep_rs
  • Navdeep_rs's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
How to show and hide a dotted border around selected annotation like ink, rectangle and oval?
I want to remove annotation from pdf, but to do that I firstly want to show dotted border around selected annotation, to differentiate between selected annotation from non selected ones.

Please Log in or Create an account to join the conversation.

Last edit: by mehmetalishaqiri.

Show and hide Dotted border around annotation 4 years 6 months ago #6121

  • stronglee
  • stronglee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 92
  • Karma: 1
  • Thank you received: 2
PDFPage
-(PDFAnnot *)annotAtIndex:(int)index;
this method return a PDFAnnot object.

And in PDFAnnot object ,there have
/**
* @brief get annotation's box rectangle.
* this method valid in professional or premium version
* @param rect fill 4 elements: left, top, right, bottom in PDF coordinate system
*/
-(void)getRect:(PDF_RECT *)rect;


then use cocoa method to draw
// CGContextStrokeRect(context, rect1);
// CGContextAddEllipseInRect(context, rect1);

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum