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

get pdf page with highlight

More
IP: 192.168.0.71 11 years 8 months ago #8221 by t.revor
i am trying to get a page that has a highlight, but it is returning nil,


struct PDFV_POS pos;
PDFVPage *vpage = [mview vGetPage : pos.pageno];
PDFPage * page = [vpage GetPage];
if( page )
{
PDFAnnot * annot = [page annotAtPoint:pos.x :pos.y];
[annot type];
[annot removeFromPage];
annot = nil;
}

when i put a break point it shows that page = nil,
More
IP: 192.168.0.124 11 years 8 months ago #8229 by emanuele
Hi,

also PDFV_POS needs some values.
something like:

struct PDFV_POS pos;
pos.x = 0;
pos.y = 0;
pos.pageno = 5;
Time to create page: 1.133 seconds
Powered by Kunena Forum