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

Show and hide Dotted border around annotation

More
IP: 192.168.0.71 12 years 4 months ago - 12 years 4 months ago #6066 by Navdeep_rs
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.
Last edit: 12 years 4 months ago by mehmetalishaqiri.
More
IP: 192.168.0.71 12 years 4 months ago #6121 by stronglee
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);
Time to create page: 0.387 seconds
Powered by Kunena Forum